diff options
author | isaacs <i@izs.me> | 2013-03-07 02:11:55 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-03-09 20:38:23 +0400 |
commit | 0a55b86f2f37bf12d8f65287cefffa0cf71b26a3 (patch) | |
tree | 51aaed9ff3677d6e85b7335ecd506543b4dd0cd9 /node_modules/mkdirp | |
parent | f828284ee50f85448be324f56a5f23e138735764 (diff) |
mkdirp@0.3.5
Diffstat (limited to 'node_modules/mkdirp')
-rw-r--r-- | node_modules/mkdirp/.travis.yml | 3 | ||||
-rw-r--r-- | node_modules/mkdirp/README.markdown | 50 | ||||
-rw-r--r-- | node_modules/mkdirp/package.json | 18 |
3 files changed, 38 insertions, 33 deletions
diff --git a/node_modules/mkdirp/.travis.yml b/node_modules/mkdirp/.travis.yml index f1d0f13c8..84fd7ca24 100644 --- a/node_modules/mkdirp/.travis.yml +++ b/node_modules/mkdirp/.travis.yml @@ -1,4 +1,5 @@ language: node_js node_js: - - 0.4 - 0.6 + - 0.8 + - 0.9 diff --git a/node_modules/mkdirp/README.markdown b/node_modules/mkdirp/README.markdown index 40de04f71..83b0216ab 100644 --- a/node_modules/mkdirp/README.markdown +++ b/node_modules/mkdirp/README.markdown @@ -1,34 +1,37 @@ -mkdirp -====== +# mkdirp Like `mkdir -p`, but in node.js! [![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp) -example -======= +# example -pow.js ------- - var mkdirp = require('mkdirp'); +## pow.js + +```js +var mkdirp = require('mkdirp'); - mkdirp('/tmp/foo/bar/baz', function (err) { - if (err) console.error(err) - else console.log('pow!') - }); +mkdirp('/tmp/foo/bar/baz', function (err) { + if (err) console.error(err) + else console.log('pow!') +}); +``` Output - pow! + +``` +pow! +``` And now /tmp/foo/bar/baz exists, huzzah! -methods -======= +# methods +```js var mkdirp = require('mkdirp'); +``` -mkdirp(dir, mode, cb) ---------------------- +## mkdirp(dir, mode, cb) Create a new directory and any necessary subdirectories at `dir` with octal permission string `mode`. @@ -38,8 +41,7 @@ If `mode` isn't specified, it defaults to `0777 & (~process.umask())`. `cb(err, made)` fires with the error or the first directory `made` that had to be created, if any. -mkdirp.sync(dir, mode) ----------------------- +## mkdirp.sync(dir, mode) Synchronously create a new directory and any necessary subdirectories at `dir` with octal permission string `mode`. @@ -48,14 +50,14 @@ If `mode` isn't specified, it defaults to `0777 & (~process.umask())`. Returns the first directory that had to be created, if any. -install -======= +# install With [npm](http://npmjs.org) do: - npm install mkdirp +``` +npm install mkdirp +``` -license -======= +# license -MIT/X11 +MIT diff --git a/node_modules/mkdirp/package.json b/node_modules/mkdirp/package.json index 0d1eb988b..54cd699bd 100644 --- a/node_modules/mkdirp/package.json +++ b/node_modules/mkdirp/package.json @@ -1,7 +1,7 @@ { "name": "mkdirp", "description": "Recursively mkdir, like `mkdir -p`", - "version": "0.3.4", + "version": "0.3.5", "author": { "name": "James Halliday", "email": "mail@substack.net", @@ -20,13 +20,15 @@ "test": "tap test/*.js" }, "devDependencies": { - "tap": "~0.2.4" + "tap": "~0.4.0" }, - "license": "MIT/X11", - "engines": { - "node": "*" + "license": "MIT", + "readme": "# mkdirp\n\nLike `mkdir -p`, but in node.js!\n\n[![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp)\n\n# example\n\n## pow.js\n\n```js\nvar mkdirp = require('mkdirp');\n \nmkdirp('/tmp/foo/bar/baz', function (err) {\n if (err) console.error(err)\n else console.log('pow!')\n});\n```\n\nOutput\n\n```\npow!\n```\n\nAnd now /tmp/foo/bar/baz exists, huzzah!\n\n# methods\n\n```js\nvar mkdirp = require('mkdirp');\n```\n\n## mkdirp(dir, mode, cb)\n\nCreate a new directory and any necessary subdirectories at `dir` with octal\npermission string `mode`.\n\nIf `mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\n`cb(err, made)` fires with the error or the first directory `made`\nthat had to be created, if any.\n\n## mkdirp.sync(dir, mode)\n\nSynchronously create a new directory and any necessary subdirectories at `dir`\nwith octal permission string `mode`.\n\nIf `mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\nReturns the first directory that had to be created, if any.\n\n# install\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install mkdirp\n```\n\n# license\n\nMIT\n", + "readmeFilename": "readme.markdown", + "_id": "mkdirp@0.3.5", + "dist": { + "shasum": "35715a113218b4fa49dc9b69326afcf7f9b2948e" }, - "readme": "mkdirp\n======\n\nLike `mkdir -p`, but in node.js!\n\n[![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp)\n\nexample\n=======\n\npow.js\n------\n var mkdirp = require('mkdirp');\n \n mkdirp('/tmp/foo/bar/baz', function (err) {\n if (err) console.error(err)\n else console.log('pow!')\n });\n\nOutput\n pow!\n\nAnd now /tmp/foo/bar/baz exists, huzzah!\n\nmethods\n=======\n\nvar mkdirp = require('mkdirp');\n\nmkdirp(dir, mode, cb)\n---------------------\n\nCreate a new directory and any necessary subdirectories at `dir` with octal\npermission string `mode`.\n\nIf `mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\n`cb(err, made)` fires with the error or the first directory `made`\nthat had to be created, if any.\n\nmkdirp.sync(dir, mode)\n----------------------\n\nSynchronously create a new directory and any necessary subdirectories at `dir`\nwith octal permission string `mode`.\n\nIf `mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\nReturns the first directory that had to be created, if any.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n npm install mkdirp\n\nlicense\n=======\n\nMIT/X11\n", - "_id": "mkdirp@0.3.4", - "_from": "mkdirp@~0.3.3" + "_from": "mkdirp@0.3.5", + "_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz" } |