node.js package management system -- feature rich, fast, inspired by GIT / RubyGems / Gemcutter / Kiwi Fruits :D
JavaScript package management system for node.js
Kiwi development is sponsored by Vision Media and hosting
is sponsored by Slicehost.
Other node package management systems utilize absolute urls
in order to fetch their tarballs, below is an example of
both kiwi and npm installing the same library.
kiwi:
$ kiwi install haml
npm:
$ npm install http://github.com/creationix/haml-js/tarball/0.1.2
$ [sudo] make install
$ [sudo] make uninstall
$ [sudo] kiwi update
First we need to install a few seeds:
$ kiwi -v install haml
$ kiwi -v install oo
Now we can create a file named app.js anywhere
on our system and add:
var kiwi = require('kiwi'),
sys = require('sys')
sys.p(kiwi.require('haml', '= 0.1.2'))
sys.p(kiwi.require('oo', '1.2.0'))
sys.p(kiwi.require('oo'))
Then run it with node:
$ node app.js
Specs are run using Ruby RSpec’s spec
executable.
$ make server-start && make test && make server-stop
Command dependencies are as follows:
Currently tested with:
(The MIT License)
Copyright © 2009 TJ Holowaychuk <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
‘Software’), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.