Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Commit

Permalink
Updated readme examples with new mkdirSyncRecursive() stuff, version …
Browse files Browse the repository at this point in the history
…bump/publish
  • Loading branch information
Ryan McGrath committed Oct 23, 2011
1 parent 3d70d7c commit 0194630
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wrench",
"description": "Recursive filesystem (and other) operations that Node *should* have.",
"version": "1.3.0",
"version": "1.3.1",
"author": "Ryan McGrath <[email protected]>",

"repository": {
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Usage
var wrench = require('wrench'),
util = require('util');

// Recursively create directories, sub-trees and all.
wrench.mkdirSyncRecursive(dir, 0777);

// Recursively delete the entire sub-tree of a directory, then kill the directory
wrench.rmdirSyncRecursive('my_directory_name');

Expand Down

0 comments on commit 0194630

Please sign in to comment.