Sha256: e5aeb6b4dfd9755713eb778608d8f215098dad3271ea90761c120c58d8e19bc3
Contents?: true
Size: 1.61 KB
Versions: 7
Compression:
Stored size: 1.61 KB
Contents
{ "name": "mkpath", "version": "0.1.0", "author": { "name": "Jonathan Rajavuori", "email": "jrajav@gmail.com" }, "description": "Make all directories in a path, like mkdir -p", "repository": { "type": "git", "url": "https://github.com/jrajav/mkpath" }, "keywords": [ "mkdir", "mkdirp", "directory", "path", "tree" ], "main": "./mkpath", "scripts": { "test": "node node_modules/tap/bin/tap.js ./test" }, "devDependencies": { "tap": "~0.3" }, "license": "MIT", "readme": "# mkpath\n\nMake all directories in a path, like `mkdir -p`.\n\n## How to use\n\n var mkpath = require('mkpath');\n \n mkpath('red/green/violet', function (err) {\n if (err) throw err;\n console.log('Directory structure red/green/violet created');\n });\n \n mkpath.sync('/tmp/blue/orange', 0700);\n\n### mkpath(path, [mode = 0777 & (~process.umask()),] [callback])\n\nCreate all directories that don't exist in `path` with permissions `mode`. When finished, `callback(err)` fires with the error, if any.\n\n### mkpath.sync(path, [mode = 0777 & (~process.umask())]);\n\nSynchronous version of the same. Throws error, if any.\n\n## License\n\nThis software is released under the [MIT license](http://www.opensource.org/licenses/MIT).\n\n", "readmeFilename": "README.md", "bugs": { "url": "https://github.com/jrajav/mkpath/issues" }, "homepage": "https://github.com/jrajav/mkpath", "_id": "mkpath@0.1.0", "_shasum": "7554a6f8d871834cc97b5462b122c4c124d6de91", "_from": "mkpath@~0.1.0", "_resolved": "https://registry.npmjs.org/mkpath/-/mkpath-0.1.0.tgz" }
Version data entries
7 entries across 7 versions & 1 rubygems