mongodb-ns
JSON →MongoDB namespace parsing and validation library that splits strings like 'db.collection' into components, checks validity, and identifies special namespaces (oplog, system, command). Current version 3.2.0, published under the @mongodb-js scope. Actively maintained as part of MongoDB DevTools Shared. Differentiators: strict validation of database and collection names per MongoDB rules, hash generation, and support for dotted collection names.
Resources
packagemongodb-ns ↗