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
2
LICENSE
2
LICENSE
|
|
@ -1,6 +1,6 @@
|
||||||
The MIT License
|
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
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,7 @@
|
||||||
* ~ Ryan McGrath (ryan [at] venodesigns.net)
|
* ~ Ryan McGrath (ryan [at] venodesigns.net)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var fs = require("fs"),
|
var fs = require("fs");
|
||||||
sys = require("sys");
|
|
||||||
|
|
||||||
/* wrench.rmdirSyncRecursive("directory_path");
|
/* 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