NPM joinks

This commit is contained in:
Ryan McGrath 2010-12-13 05:17:18 +09:00
parent 54fcb0cd50
commit 3bd9b6397b
2 changed files with 13 additions and 10 deletions

View file

@ -1,8 +1,8 @@
{ {
"name": "wrench", "name": "wrench",
"description": "Recursive filesystem operations that Node *should* have.", "description": "Recursive filesystem operations that Node *should* have.",
"version": "1.0", "version": "0.1.0",
"author": "Ryan McGrath", "author": "Ryan McGrath <ryan@venodesigns.net>",
"repository": { "repository": {
"type" : "git", "type" : "git",
@ -29,10 +29,6 @@
"node": ">=0.1.97", "node": ">=0.1.97",
}, },
"dependencies": {
"libxmljs" : "*",
},
"licenses": [ "licenses": [
{"type" : "MIT", "url" : "http://github.com/ryanmcgrath/wrench-js/raw/master/LICENSE"} {"type" : "MIT", "url" : "http://github.com/ryanmcgrath/wrench-js/raw/master/LICENSE"}
], ],

View file

@ -8,6 +8,13 @@ That said, here's my attempt at a re-usable solution, at least until something
more formalized gets integrated into Node.js (*hint hint*). wrench.js is fairly simple more formalized gets integrated into Node.js (*hint hint*). wrench.js is fairly simple
to use - check out the documentation/examples below: to use - check out the documentation/examples below:
Installation
-----------------------------------------------------------------------------
npm install wrench
Usage
-----------------------------------------------------------------------------
var wrench = require("./wrench"); var wrench = require("./wrench");
// Recursively delete the entire sub-tree of a directory, then kill the directory // Recursively delete the entire sub-tree of a directory, then kill the directory