cofmon
coffee-script shell for mongodb
Last updated 6 years ago by rbrcurtis .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cofmon -g
SYNC missed versions from official npm registry.

A CoffeeScript Shell for MongoDB

so that you can write CoffeeScript instead of JavaScript in the Mongo Shell.

To use, just npm install -g cofmon and then use cofmon as you would the Mongo command.

In additon to being able to write CoffeeScript instead of JavaScript, any 24 character hex string that's wrapped in double quotes is automatically made into an ObjectId, i.e.

'51bb660191888d7acc355ed8' compiles to ObjectId('51bb660191888d7acc355ed8') "51bb660191888d7acc355ed8" compiles to "51bb660191888d7acc355ed8"

Note that the quotes were reversed in a previous version. It was changed because the mongo repl returns object ids with double quotes, which meant you couldnt copy/paste the entire ID.

Current Tags

  • 0.0.10                                ...           latest (6 years ago)

9 Versions

  • 0.0.10                                ...           6 years ago
  • 0.0.9                                ...           6 years ago
  • 0.0.8                                ...           6 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 3
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |