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:
parent
b9b29b564e
commit
7b010b483d
3 changed files with 42 additions and 4 deletions
4
LICENSE
4
LICENSE
|
|
@ -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.
|
||||
|
|
@ -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
39
package.json
Normal 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"}
|
||||
],
|
||||
}
|
||||
Reference in a new issue