File: connected-users-websocket/node_modules/express/node_modules/mkdirp/package.json

Recommend this page to a friend!
  Classes of Igor Escobar   Terminal Crossword   connected-users-websocket/node_modules/express/node_modules/mkdirp/package.json   Download  
File: connected-users-websocket/node_modules/express/node_modules/mkdirp/package.json
Role: Example script
Content type: text/plain
Description: Example script
Class: Terminal Crossword
Generate a crosswords board on a text console
Author: By
Last change:
Date: 2 years ago
Size: 1,973 bytes
 

Contents

Class file image Download
{ "name": "mkdirp", "description": "Recursively mkdir, like `mkdir -p`", "version": "0.3.3", "author": { "name": "James Halliday", "email": "mail@substack.net", "url": "http://substack.net" }, "main": "./index", "keywords": [ "mkdir", "directory" ], "repository": { "type": "git", "url": "http://github.com/substack/node-mkdirp.git" }, "scripts": { "test": "tap test/*.js" }, "devDependencies": { "tap": "~0.2.4" }, "license": "MIT/X11", "engines": { "node": "*" }, "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", "readmeFilename": "README.markdown", "_id": "mkdirp@0.3.3", "dist": { "shasum": "80dcd63bb63005c670ccf5f4ba3927424356fa7d" }, "_from": "mkdirp@0.3.3" }