neuro-class

The best project ever.

npm install neuro-class
1 downloads in the last week
4 downloads in the last month

neuro-class

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 cortex

Using neuro-class In Your Project

First, install 'neuro-class' directly with ctx install (recommended)

ctx install neuro-class --save

or, you could update your package.json manually

dependencies: {
    'neuro-class': '<version-you-want>'
}

and install dependencies

ctx install

Then, use require method in your module

var neuro-class = require('neuro-class');

Finally, start cortex server

ctx server

Then cortex will care all the rest.

API Documentation

neuro-class: constructor

': constructor' means the module.exports of module 'neuro-class' is a constructor that we should use it with the new keyword

new neuro-class(options)

options

  • options.name {String}

neuro-class.\(arguments)

Means this is a static method of module.exports

arguments

// arguments description here

.\(arguments)

Mean this is a method of the instance

arguments

// arguments description here

npm loves you