-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
36 lines (36 loc) · 1.49 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"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",
"_from": "mkpath@~0.1.0"
}