Sha256: b95f60fe0928916dd0c0ab080bb3166a08b1bf86d11373514abb92ac2f96362e
Contents?: true
Size: 1.64 KB
Versions: 62
Compression:
Stored size: 1.64 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": "git+https://github.com/jrajav/mkpath.git" }, "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#readme", "_id": "mkpath@0.1.0", "_shasum": "7554a6f8d871834cc97b5462b122c4c124d6de91", "_resolved": "https://registry.npmjs.org/mkpath/-/mkpath-0.1.0.tgz", "_from": "mkpath@>=0.1.0 <0.2.0" }
Version data entries
62 entries across 62 versions & 1 rubygems