Socket
Socket
Sign inDemoInstall

noid

Package Overview
Dependencies
0
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    noid

ODM for MongoDB with CoffeeScript


Version published
Weekly downloads
3
increased by200%
Maintainers
0
Install size
8.83 MB
Created
Weekly downloads
 

Readme

Source

Noid

Noid is an ODM (object document mapper) for MongoDB and Node.js written in CoffeeScript.

Example

class Person extends Document
  
  @storeIn 'people'

  @field 'name'
  @field 'title'

Person.create { name: 'Chris }

Person.findFirst { name: 'Chris' }, (error, person) ->
  console.log person.name()

Documentation

npm install noid

See the integration specs for now...

About

Noid intends to provide a clean way to setup mappings (intended to be created in CoffeeScript, though not required). It is obviously inspired by Mongoid and the api will likely mirror that of Mongoid's, barring any idiomatic deviations.

Credits

Chris Gibson chrislgibson at gmail dot com

FAQs

Last updated on 22 Dec 2010

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc