Sha256: 81cf6ed3e5582aea811fedce0904c1c010ba49e9c2be39100901bc1186fdce1c
Contents?: true
Size: 1.95 KB
Versions: 1
Compression:
Stored size: 1.95 KB
Contents
{ "name": "commondir", "version": "0.0.1", "description": "Compute the closest common parent for file paths", "main": "index.js", "directories": { "lib": ".", "example": "example", "test": "test" }, "dependencies": {}, "devDependencies": { "expresso": "0.7.x" }, "scripts": { "test": "expresso" }, "repository": { "type": "git", "url": "http://github.com/substack/node-commondir.git" }, "keywords": [ "common", "path", "directory", "file", "parent", "root" ], "author": { "name": "James Halliday", "email": "mail@substack.net", "url": "http://substack.net" }, "license": "MIT/X11", "engine": { "node": ">=0.4" }, "readme": "commondir\n=========\n\nCompute the closest common parent directory among an array of directories.\n\nexample\n=======\n\ndir\n---\n\n > var commondir = require('commondir');\n > commondir([ '/x/y/z', '/x/y', '/x/y/w/q' ])\n '/x/y'\n\nbase\n----\n\n > var commondir = require('commondir')\n > commondir('/foo/bar', [ '../baz', '../../foo/quux', './bizzy' ])\n '/foo'\n\nmethods\n=======\n\nvar commondir = require('commondir');\n\ncommondir(absolutePaths)\n------------------------\n\nCompute the closest common parent directory for an array `absolutePaths`.\n\ncommondir(basedir, relativePaths)\n---------------------------------\n\nCompute the closest common parent directory for an array `relativePaths` which\nwill be resolved for each `dir` in `relativePaths` according to:\n`path.resolve(basedir, dir)`.\n\ninstallation\n============\n\nUsing [npm](http://npmjs.org), just do:\n\n npm install commondir\n", "readmeFilename": "README.markdown", "bugs": { "url": "https://github.com/substack/node-commondir/issues" }, "_id": "commondir@0.0.1", "dist": { "shasum": "6ae88923208c3f51d703682e411fbb53d06d9511" }, "_from": "commondir@~0.0.1", "_resolved": "https://registry.npmjs.org/commondir/-/commondir-0.0.1.tgz" }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-wisp-source-0.7.0 | vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/package.json |