{"_id":"objectid","_rev":"37-bc1b9ad30b633525617c708d3a1fddda","name":"objectid","description":"mongodb objectid utilities","dist-tags":{"latest":"3.2.1"},"versions":{"1.0.0":{"name":"objectid","version":"1.0.0","description":"generate and validate mongodb objectId strings without dependencies","main":"index.js","scripts":{"test":"node test"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","_id":"objectid@1.0.0","dist":{"shasum":"83adffc74e5186de7f9f74e2ae0651164b4bb848","tarball":"https://registry.npmjs.org/objectid/-/objectid-1.0.0.tgz","integrity":"sha512-Jqnhgc7gnnD5lzOz7j1XuCuvmIT258rBNzxqAjdhBYiZrXJM8LXcq1XLFWUoSqdSerCVcnh8DxGbMF5p8/3+ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvS/1gbL3ZpMR6XigpvFV/WBo1Xkcn25vjFQH175BLUAIhAIBLFC2X39jPDlyuPNihHXAMqMJ20D6b+fE934xqmnlZ"}]},"_npmVersion":"1.2.0","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"1.1.0":{"name":"objectid","version":"1.1.0","description":"generate and validate mongodb objectId strings without dependencies","main":"index.js","scripts":{"test":"node test"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12"},"_id":"objectid@1.1.0","dist":{"shasum":"bc9e81b08ed538fd67dfd7a4009e15ac4bc6c0c0","tarball":"https://registry.npmjs.org/objectid/-/objectid-1.1.0.tgz","integrity":"sha512-l8BNPQVBoXU+yWFSVRFmrzEt4BmlBC4QhGx5cyT+y51OEuk9o4h6ldUU4D9LTr19Wae/9ofu9Fckvmj3nFQ7kA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClxYAxBUY/zIu48rUfFkW3kYQRTQep47YpFtiu0cdXhAIhAMVxcrBVM7m9mn8SnRAxg6is9zJeMtakdjmPsmSgY7gb"}]},"_npmVersion":"1.2.0","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"2.0.0":{"name":"objectid","version":"2.0.0","description":"generate and validate mongodb objectId strings without dependencies","main":"index.js","scripts":{"test":"node test"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12","chai":"~1.5.0","mocha":"~1.8.2"},"_id":"objectid@2.0.0","dist":{"shasum":"e4cec78ed0238bce06eed4f6f25b3c4da50f90ea","tarball":"https://registry.npmjs.org/objectid/-/objectid-2.0.0.tgz","integrity":"sha512-pNW+8LF8MwLpbCZ8fuxgY7HXJw6CwQCgjzjFWnB6RwFxbQ+zL3hp/Kqoth1Qw/sX2N6swg4HbLQeIm1Ox9Z0Rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDcJ/ao1rtlfUHc5E4fBgjYFF7+XqYVjwBmCGc7pJZfGAiAw6XgpFGkYf24q55ITQ5bDqRievzf+Qter57TRKSvXYg=="}]},"_npmVersion":"1.2.0","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"2.1.0":{"name":"objectid","version":"2.1.0","description":"generate and validate mongodb objectId strings without dependencies","main":"index.js","scripts":{"test":"node node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12","chai":"~1.5.0","mocha":"~1.8.2","chai-interface":"~1.1.0"},"_id":"objectid@2.1.0","dist":{"shasum":"dc8c77c2a78c74186c8d72a966c5cac1da58e15d","tarball":"https://registry.npmjs.org/objectid/-/objectid-2.1.0.tgz","integrity":"sha512-5rTy4V1FdYgP46uOhS93xoPjTfb667FM3DzS3gwIYoB0pXVMQHCSOHIy8Sk4OihGHjJtBd1PG0NflsTkS+AJFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO9iAt6kTp146Xx33DMymdjYgAThVLELFf8Z548QebywIgEs1sh6K+Cda51njO7QDp9gsp7WSuR7k8QfmxHPPscLk="}]},"_npmVersion":"1.2.0","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"2.2.0":{"name":"objectid","version":"2.2.0","description":"generate and validate mongodb objectId strings without dependencies","main":"index.js","scripts":{"test":"node node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12","chai":"~1.5.0","mocha":"~1.8.2","chai-interface":"~1.1.0"},"_id":"objectid@2.2.0","dist":{"shasum":"0016f31cf66cdcf488d6abc8d7a3c0befd3c7b8b","tarball":"https://registry.npmjs.org/objectid/-/objectid-2.2.0.tgz","integrity":"sha512-bAg8PXJAEqlXEUCvifJPk4cU9dtZ6vMd1xblqE7ZfKpaSmoaI4C/YnouA/aZ3uq4QvyucUg+nw2QMuTWsVDKpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKERGL5wQarmbEZuIGkOAIS0bsEGw6ZQB3Fpagkkcc6wIgKqxGpUSpnGBeFBoXA1b8nl6n2/VbS12QxV4mH31RLUk="}]},"_npmVersion":"1.2.0","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"2.3.0":{"name":"objectid","version":"2.3.0","description":"generate and validate mongodb objectId strings without dependencies","main":"index.js","scripts":{"test":"node node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12","chai":"~1.5.0","mocha":"~1.8.2","chai-interface":"~1.1.0","bson":"~0.1.8"},"_id":"objectid@2.3.0","dist":{"shasum":"6db023e43d6b284f581aec6bafa72ff1007721cf","tarball":"https://registry.npmjs.org/objectid/-/objectid-2.3.0.tgz","integrity":"sha512-5Isovi78KR5kMYu7QsZra15ijeuFqIm8bl6Qg9yTITj/FEklri/LxjdKvZKSR1upxmfxg437q9nURltIN14eDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGguruTaV3KO3QJO5ZE8CMB/MQuRINPVBy1G6/+3LFnlAiBrUUy0jR586w8siuac7l6eZJdxMYTwlXSRHpDTX+8P0w=="}]},"_npmVersion":"1.2.0","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"3.0.0":{"name":"objectid","version":"3.0.0","description":"mongodb objectid utilities","main":"index.js","scripts":{"test":"node node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12","chai":"~1.5.0","mocha":"~1.8.2","chai-interface":"~1.1.0","bson":"~0.1.8"},"dependencies":{"mongodb":"~1.3.3","bson":"~0.1.8","to-string":"~0.2.0"},"_id":"objectid@3.0.0","dist":{"shasum":"92486cc216a60d8c7072ae538e2be69e3422c1f4","tarball":"https://registry.npmjs.org/objectid/-/objectid-3.0.0.tgz","integrity":"sha512-qqaGAYrMYRgBkAnHkD4F/jJf2QMzYMdN9RH7edTGA9rDHowiBTFMVYGe/uw1HrX5Ncg6mSVBsa9iPLf3s78sVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHxgGXsrWftT/Vbn7Hd3yqR5Rfalz73wcCMHD6QNFUdwCIB5ts8uFonXNdiY8jtu6usi/lyQ/89KtEv2sjwbtfs7E"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"3.0.1":{"name":"objectid","version":"3.0.1","description":"mongodb objectid utilities","main":"index.js","scripts":{"test":"node node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12","chai":"~1.5.0","mocha":"~1.8.2","chai-interface":"~1.1.0","bson":"~0.1.8"},"dependencies":{"mongodb":"~1.3.3","bson":"~0.1.8","to-string":"~0.2.0"},"_id":"objectid@3.0.1","dist":{"shasum":"87c900412ed4a21e9515ef10d42564d41392ac4f","tarball":"https://registry.npmjs.org/objectid/-/objectid-3.0.1.tgz","integrity":"sha512-NiqhutVILFk0oGh1PugoA55V3o5vYqtP1U4xIOTUsQkXrNDHJl0/F6PTSI2OtOkip1vB6MkpDrLWEShyBy09bQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCXb5B+RYPPEqvJ17ZcKinZECKObnGEgP6sQBIWcPpoAiAYl4aakaOq4ZXNSiztbTK09d0jEgqZgJZk3M2gWmB97A=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"3.1.0":{"name":"objectid","version":"3.1.0","description":"mongodb objectid utilities","main":"index.js","scripts":{"test":"node node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12","chai":"~1.5.0","mocha":"~1.8.2","chai-interface":"~1.1.0","bson":"~0.1.8"},"dependencies":{"mongodb":"~1.3.3","bson":"~0.1.8","to-string":"~0.2.0"},"_id":"objectid@3.1.0","dist":{"shasum":"f34253a1406abf51760a474869fc00ffdf3a78f1","tarball":"https://registry.npmjs.org/objectid/-/objectid-3.1.0.tgz","integrity":"sha512-+P91tEz+QSaD9hoxZF3lIjIB8tazX0m5+jvrvivwogMLwZcWNZabZHQThM5rSvSdUZYFvieFS6PX0aV6+ayDCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXtHqOuHsJpa/jv3qdMOC/N8t2jZei2ovwnx6lakrgyAIgbBmuSSqNo1DaGWCyiQn3+Ze2zSx0mE12E9KXZ1uTkpM="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}},"3.2.0":{"name":"objectid","version":"3.2.0","description":"mongodb objectid utilities","main":"index.js","scripts":{"test":"node node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git@github.com:AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"mongodb":"~1.2.12","chai":"~1.5.0","mocha":"~1.8.2","chai-interface":"~1.1.0","bson":"~0.1.8"},"dependencies":{"mongodb":"~1.3.3","bson":"~0.1.8","to-string":"~0.2.0"},"gitHead":"b5d34e7b705df9a54666036e8c2de63066d8a81f","bugs":{"url":"https://github.com/AgileDiagnosis/objectid/issues"},"homepage":"https://github.com/AgileDiagnosis/objectid","_id":"objectid@3.2.0","_shasum":"210b47cbcbfbd1e9b1ace521564508492f3e2514","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"maintainers":[{"name":"jden","email":"jason@denizac.org"},{"name":"agilemd","email":"doc@agilemd.com"}],"dist":{"shasum":"210b47cbcbfbd1e9b1ace521564508492f3e2514","tarball":"https://registry.npmjs.org/objectid/-/objectid-3.2.0.tgz","integrity":"sha512-pMFUKl1RfEV0JQL84E4e9yTPdbngOOwudFcng7wV4NYQ9iiixZBQGfFUBZLt6Pup7eeP1ZegVI6A1yDKR2hM3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUCGjyS0r300N9K4THiXlA5ebGkh7MLbRfiKYeGRj8igIhAM9c0CHv7QhJjKXSDWyiiR1C3/N1bUxn0bUKVM0d5ZMv"}]},"directories":{}},"3.2.1":{"name":"objectid","version":"3.2.1","description":"mongodb objectid utilities","main":"index.js","scripts":{"test":"node node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+ssh://git@github.com/AgileDiagnosis/objectid.git"},"keywords":["mongodb","objectid"],"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"contributors":[{"name":"jden","email":"jason@denizac.org"}],"license":"MIT","devDependencies":{"bson":"~0.1.8","chai":"~1.5.0","chai-interface":"~1.1.0","mocha":"~1.8.2","mongodb":"~1.2.12"},"dependencies":{"bson":"^0.1.9"},"gitHead":"5bbce7750dda1e82d01a7de57266d16e29fbb3ce","bugs":{"url":"https://github.com/AgileDiagnosis/objectid/issues"},"homepage":"https://github.com/AgileDiagnosis/objectid#readme","_id":"objectid@3.2.1","_shasum":"a3b7a2b4d65f3a8348ef8497f023069b5cb019de","_from":".","_npmVersion":"3.1.0","_nodeVersion":"0.10.36","_npmUser":{"name":"jden","email":"jason@denizac.org"},"dist":{"shasum":"a3b7a2b4d65f3a8348ef8497f023069b5cb019de","tarball":"https://registry.npmjs.org/objectid/-/objectid-3.2.1.tgz","integrity":"sha512-jt4OarkTk/N/oxUrPK/ZXm+t39sxtgxTnl8fs5IbeU80WchQi27E2zt/fu1FaWxbL+3sl980b/ELhXjcPlMf6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmUnac+S9t2wEOWpc1Hmh7+A8qikk1Unc9UmLDMBlhygIhAIf5k25C7WRg4A1Z8RGctVkgPTYYbDEAiavPtibRPlUa"}]},"maintainers":[{"name":"jden","email":"jason@denizac.org"}],"directories":{}}},"readme":"# objectid\nmongodb objectid utilities\n\n## about\n\n1.x is probably the version you want to use in a browser. 3.x focuses on compatibility with the npm `mongodb` driver.\n\n## installation\n\n    $ npm install objectid\n\n## usage\n\n    var objectid = require('objectid')\n\n    var id = objectid()\n\n    objectid.isValid(id)\n    // => true\n\n    objectid.isValid('4frsdef43wzx')\n    // => false\n\n`objectid.isValid` returns true for `mongodb` native driver `ObjectID` objects, or any other representations with a `.toString` method which returns the hex string encoding of a valid objectid.\n\nCalling `objectid` with an existing objectid - whether a string, an object created by this module, an objectid created by another driver (such as the result of a query) - will cast the value to an instanceof this module. It will throw if the argument is not a valid ObjectId.\n\n## Static Methods\n\n### ObjectId.equals(oidA, oidB) => Boolean\nCurried to support creating equality predicates.\n\n### ObjectId.tryParse(oid, out, as) => Boolean\n\n### ObjectId.isValid(oid) => Boolean\n\n## Instance Methods\n\n### ObjectId#equals(oidB) => Boolean\n\n### ObjectId#toString() => String\n\n### ObjectId#toJSON() => String\n\n## running the tests\n\nFrom package root:\n\n    $ npm install\n    $ npm test\n\n## contributors\n\njden <jason@denizac.org> @leJDen\n\n## license\n\nMIT. (c) 2013 Agile Diagnosis <hello@agilediagnosis.com> See LICENSE.md\n","maintainers":[],"time":{"modified":"2022-06-22T17:18:04.338Z","created":"2013-02-05T04:04:39.810Z","1.0.0":"2013-02-05T04:04:40.766Z","1.1.0":"2013-02-14T23:47:18.804Z","2.0.0":"2013-03-18T21:15:03.109Z","2.1.0":"2013-03-18T23:34:38.018Z","2.2.0":"2013-03-26T19:11:50.395Z","2.3.0":"2013-03-26T23:47:57.428Z","3.0.0":"2013-05-09T23:24:12.551Z","3.0.1":"2013-05-10T02:33:08.100Z","3.1.0":"2013-06-11T20:11:12.386Z","3.2.0":"2015-02-12T21:43:16.046Z","3.2.1":"2015-07-21T17:38:26.619Z"},"author":{"name":"Agile Diagnosis","email":"hello@agilediagnosis.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/AgileDiagnosis/objectid.git"},"users":{"agilediagnosis":true,"olonam":true},"readmeFilename":"README.md","homepage":"https://github.com/AgileDiagnosis/objectid#readme","keywords":["mongodb","objectid"],"contributors":[{"name":"jden","email":"jason@denizac.org"}],"bugs":{"url":"https://github.com/AgileDiagnosis/objectid/issues"},"license":"MIT"}