Updated to match NPM/CommonJS format, distributed through NPM now, removed useless import, magically still works in newer versions of Node. ;D

This commit is contained in:
Ryan McGrath 2010-10-22 12:36:29 -04:00
parent b9b29b564e
commit 7b010b483d
3 changed files with 42 additions and 4 deletions

View file

@ -1,6 +1,6 @@
The MIT License
Copyright (c) 2010 Ryan McGrath
Copyright (c) 2009 Ryan McGrath
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@ -18,4 +18,4 @@ 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.
THE SOFTWARE.

View file

@ -13,8 +13,7 @@
* ~ Ryan McGrath (ryan [at] venodesigns.net)
*/
var fs = require("fs"),
sys = require("sys");
var fs = require("fs");
/* wrench.rmdirSyncRecursive("directory_path");
*

39
package.json Normal file
View file

@ -0,0 +1,39 @@
{
"name": "wrench",
"description": "Recursive filesystem operations that Node *should* have.",
"version": "1.0",
"author": "Ryan McGrath",
"repository": {
"type" : "git",
"url": "https://ryanmcgrath@github.com/ryanmcgrath/wrench-js.git",
},
"bugs": {
"web": "http://github.com/ryanmcgrath/wrench-js/issues",
},
"os": [
"linux",
"darwin",
"freebsd",
],
"directories": {
"lib": "./lib/",
},
"main": "./lib/wrench",
"engines": {
"node": ">=0.1.97",
},
"dependencies": {
"libxmljs" : "*",
},
"licenses": [
{"type" : "MIT", "url" : "http://github.com/ryanmcgrath/wrench-js/raw/master/LICENSE"}
],
}