The idea of this library is to provide you with all the essential building blocks you need to get your node on. Extensive. Consistent. Structured. Modular. Grab what you need; ignore the rest.
Like it? Don't like it? It's all about picking your poison.
npm install std. If you don't have NPM installed, you can get it here or download manually STD here.
var std = require('std').std; var blog = std('import blog'); var p1 = blog.post(); p1.title = 'Hello world!'; p1.save();
modulesdirectory for your module.
__init__.jspackage file to your module directory.
Add your modules to STD's importer:
var std = require('std').std; std.add_path('./modules'); var my_module = std('import my_module');
The API is still under construction, and may experience highly volatile changes.
You can find STD in the
Command to watch and compile CoffeeScript:
coffee -wc -o lib src
You can find existing unit tests in the
Major thanks to the CoffeeScript team.
Uses the following Node modules: backbone, underscore, connect, socket.io, node.js, mongoose, haml, less
Draws inspiration from the following projects: Boost, OGRE, haXe, Rails, Zend, Doctrine, jQuery, php.js, MaNGOS, as well as Phpr, C#.NET