UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

134 lines (133 loc) 5.33 kB
{ "_args": [ [ { "raw": "path-root-regex@^0.1.0", "scope": null, "escapedName": "path-root-regex", "name": "path-root-regex", "rawSpec": "^0.1.0", "spec": ">=0.1.0 <0.2.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\path-root" ] ], "_from": "path-root-regex@>=0.1.0 <0.2.0", "_id": "path-root-regex@0.1.2", "_inCache": true, "_location": "/path-root-regex", "_nodeVersion": "5.5.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/path-root-regex-0.1.2.tgz_1459235194182_0.15893458318896592" }, "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "_npmVersion": "3.6.0", "_phantomChildren": {}, "_requested": { "raw": "path-root-regex@^0.1.0", "scope": null, "escapedName": "path-root-regex", "name": "path-root-regex", "rawSpec": "^0.1.0", "spec": ">=0.1.0 <0.2.0", "type": "range" }, "_requiredBy": [ "/path-root" ], "_resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz", "_shasum": "bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d", "_shrinkwrap": null, "_spec": "path-root-regex@^0.1.0", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\path-root", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/regexhq/path-root-regex/issues" }, "dependencies": {}, "description": "Regular expression for getting the root of a posix or windows filepath.", "devDependencies": { "gulp-format-md": "^0.1.7", "mocha": "^2.4.5" }, "directories": {}, "dist": { "shasum": "bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d", "tarball": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "gitHead": "0b80fcc033e8eb960696672ed9b3f0262db48933", "homepage": "https://github.com/regexhq/path-root-regex", "keywords": [ "detect", "expression", "file", "filepath", "match", "parse", "path", "regex", "regexp", "regular", "root", "test" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "name": "path-root-regex", "optionalDependencies": {}, "readme": "# path-root-regex [![NPM version](https://img.shields.io/npm/v/path-root-regex.svg?style=flat)](https://www.npmjs.com/package/path-root-regex) [![NPM downloads](https://img.shields.io/npm/dm/path-root-regex.svg?style=flat)](https://npmjs.org/package/path-root-regex) [![Build Status](https://img.shields.io/travis/regexhq/path-root-regex.svg?style=flat)](https://travis-ci.org/regexhq/path-root-regex)\n\n> Regular expression for getting the root of a posix or windows filepath.\n\nYou might also be interested in [path-root](https://github.com/jonschlinkert/path-root).\n\n## Usage\n\nThe module exposes a function that must be called to get the regex (modified from the split device regex in the node.js path module);\n\n```js\nvar pathRootRegex = require('path-root-regex');\n\nconsole.log(pathRootRegex() instanceof RegExp);\n//=> true\n```\n\nSee the [path-root](https://github.com/jonschlinkert/path-root) module for examples.\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [is-absolute](https://www.npmjs.com/package/is-absolute): Polyfill for node.js `path.isAbolute`. Returns true if a file path is absolute. | [homepage](https://github.com/jonschlinkert/is-absolute)\n* [parse-filepath](https://www.npmjs.com/package/parse-filepath): Parse a filepath into an object. Falls back on the native node.js `path.parse` method if… [more](https://www.npmjs.com/package/parse-filepath) | [homepage](https://github.com/jonschlinkert/parse-filepath)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/path-root-regex/issues/new).\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/regexhq/path-root-regex/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v, on March 29, 2016._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/regexhq/path-root-regex.git" }, "scripts": { "test": "mocha" }, "verb": { "run": true, "toc": false, "layout": false, "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "highlight": "path-root", "list": [ "parse-filepath", "is-absolute" ] }, "reflinks": [ "verb", "path-root" ], "lint": { "reflinks": true } }, "version": "0.1.2" }