1.0.1 • Published 8 years ago
objectid-util v1.0.1
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.