objectid-util
v1.0.1
Published
A tiny utility for ObjectID types
Downloads
15
Readme
objectid-util
Using MongoDB types in your frontend Angular app is tricky. At Canal, we are using submodules to manage typings between projects, so having this utility is helpful in our internal typings.
Usage
$ npm install -D objectid-utilimport { ObjectID } from 'objectid-util'; // and use as a typeIt is important to remember that ObjectID is simply a type, not an actual instantiable class.
