A tiny little tool only 33K install size, that allow you generate mongo ObjectId direct in you terminal.
yarn global add oid-cli
oid
# outputs
5ac177bf70d53847e8785eac
with arguments
oid -n5
# outputs
5ac177f250dbba4954955bb9
5ac177f250dbba4954955bba
5ac177f250dbba4954955bbb
5ac177f250dbba4954955bbc
5ac177f250dbba4954955bbd
with single quotes
snippet /[']oid/ "MongoDB ObjectId" r
'`oid`'
endsnippet
whitout quotes
snippet /[.]oid/ "MongoDB ObjectId" r
`oid`
endsnippet