0.1.0-beta4 • Published 10 years ago

nail-core v0.1.0-beta4

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

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

##DevDependencies

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