0.1.0 • Published 12 years ago
neuro-json v0.1.0
neuro-json
The best project ever.
Getting Started
Before anything taking its part, you should install node and "cortex".
Install Node
Visit http://nodejs.org, download and install the proper version of nodejs.
Install Cortex
# maybe you should use `sudo`
npm install -g cortexUsing neuro-json In Your Project
First, install 'neuro-json' directly with ctx install (recommended)
ctx install neuro-json --saveor, you could update your package.json manually
dependencies: {
'neuro-json': '<version-you-want>'
}and install dependencies
ctx installThen, use require method in your module
var neuro-json = require('neuro-json');Finally, start cortex server
ctx serverThen cortex will care all the rest.
API Documentation
neuro-json: constructor
': constructor' means the module.exports of module 'neuro-json' is a constructor that we should use it with the new keyword
new neuro-json(options)options
- options.name {String}
neuro-json.\<method-name>(arguments)
Means this is a static method of module.exports
arguments
// arguments description here
.\<method-name>(arguments)
Mean this is a method of the instance
arguments
// arguments description here
0.1.0
12 years ago