0.1.0-beta4 • Published 10 years ago
nail-core v0.1.0-beta4
About
The nail-core
serves as a module host for nail build enviroments.
Features
- create classes from structured objects
- create custom builders with modules
- relevant meta data is added to all constructors
- optional namespace support
lean API
Usage
To create a new build enviroment use NailApi.use:
myNail = require('nail-core').use myModule, myOtherModule
It is recomended to define your nail builder in a seperate file and load it with require:
module.exports = require(nail-core).use myModule, myOtherModule
Once you have created a nail builder you can create new classes with the "NailApi.to" function.
myNail.to "myNamespace",
MyClass:
properties:
name: 'anon'
methods:
hello: ()-> "hello #{@name}"
For a quick start use the nail bundle.
It already contains some modules and illustartes how to use nail builders to create new classes.
##Setup Install with npm:
npm install nail-core
Clone with GIT:
git clone git://github.com/noptic/nail-core.git
##Documentation Head here → docs
##Dependencies
- underscore ~1.5.1
##DevDependencies
- grunt-contrib-coffee 0.7.0
- grunt 0.4.1
- grunt-simple-mocha ~0.4.0
- mocha ~1.12.0
- should ~1.2.2
- grunt-istanbul-coverage 0.0.1
- grunt-istanbul ~0.2.3
- glob ~3.2.9
0.1.0-beta4
10 years ago
0.1.0-beta3
11 years ago
0.1.0-beta2
11 years ago
0.1.0-beta1
11 years ago
0.1.0-alpha3
11 years ago
0.1.0-alpha2
11 years ago
0.1.0alpha1
11 years ago
0.0.1-alpha3
11 years ago
0.0.1-alpha1
11 years ago
0.0.2-alpha2
11 years ago
0.0.2
11 years ago
0.0.1
11 years ago