UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

155 lines (154 loc) 7.02 kB
{ "_args": [ [ { "raw": "parse-filepath@^1.0.1", "scope": null, "escapedName": "parse-filepath", "name": "parse-filepath", "rawSpec": "^1.0.1", "spec": ">=1.0.1 <2.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\fined" ] ], "_from": "parse-filepath@>=1.0.1 <2.0.0", "_id": "parse-filepath@1.0.2", "_inCache": true, "_location": "/parse-filepath", "_nodeVersion": "0.12.18", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/parse-filepath-1.0.2.tgz_1513726092371_0.7255330004263669" }, "_npmUser": { "name": "phated", "email": "blaine.bublitz@gmail.com" }, "_npmVersion": "2.15.11", "_phantomChildren": {}, "_requested": { "raw": "parse-filepath@^1.0.1", "scope": null, "escapedName": "parse-filepath", "name": "parse-filepath", "rawSpec": "^1.0.1", "spec": ">=1.0.1 <2.0.0", "type": "range" }, "_requiredBy": [ "/fined" ], "_resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz", "_shasum": "a632127f53aaf3d15876f5872f3ffac763d6c891", "_shrinkwrap": null, "_spec": "parse-filepath@^1.0.1", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\fined", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/parse-filepath/issues" }, "dependencies": { "is-absolute": "^1.0.0", "map-cache": "^0.2.0", "path-root": "^0.1.1" }, "description": "Pollyfill for node.js `path.parse`, parses a filepath into an object.", "devDependencies": { "gulp-format-md": "^0.1.7", "mocha": "^2.2.5", "should": "^7.0.2" }, "directories": {}, "dist": { "shasum": "a632127f53aaf3d15876f5872f3ffac763d6c891", "tarball": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz" }, "engines": { "node": ">=0.8" }, "files": [ "index.js" ], "gitHead": "25e023748868f1da8c37eca2e91121b2c74cdec4", "homepage": "https://github.com/jonschlinkert/parse-filepath", "keywords": [ "absolute", "basename", "dir", "directory", "dirname", "ext", "extension", "extname", "file", "filename", "filepath", "is-absolute", "name", "object", "parse", "parser", "parts", "path", "segment" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "phated", "email": "blaine.bublitz@gmail.com" }, { "name": "doowb", "email": "brian.woodward@gmail.com" }, { "name": "jonschlinkert", "email": "github@sellside.com" } ], "name": "parse-filepath", "optionalDependencies": {}, "readme": "# parse-filepath [![NPM version](https://img.shields.io/npm/v/parse-filepath.svg?style=flat)](https://www.npmjs.com/package/parse-filepath) [![NPM downloads](https://img.shields.io/npm/dm/parse-filepath.svg?style=flat)](https://npmjs.org/package/parse-filepath) [![Build Status](https://img.shields.io/travis/jonschlinkert/parse-filepath.svg?style=flat)](https://travis-ci.org/jonschlinkert/parse-filepath)\n\n> Pollyfill for node.js `path.parse`, parses a filepath into an object.\n\nYou might also be interested in [global-prefix](https://github.com/jonschlinkert/global-prefix).\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install parse-filepath --save\n```\n\n## Usage\n\n```js\nvar parsePath = require('parse-filepath');\nparsePath(filepath);\n```\n\nThis can be used as a polyfill for the native node.js `path.parse()` method, and it also adds a few properties:\n\n* `path`: the original filepath\n* `isAbsolute`: (getter) true if the given path is absolute\n* `absolute`: (getter) fully resolved, absolute filepath\n* `dirname`: alias for `dir`\n* `basename`: alias for `base`\n* `extname`: alias for `ext`\n* `stem`: alias for `name`\n\n**Example**\n\n```js\nvar parsePath = require('parse-filepath');\nconsole.log(parsePath('foo/bar/baz/index.js'));\n```\n\nReturns:\n\n```js\n{ root: '',\n dir: 'foo/bar/baz',\n base: 'index.js',\n ext: '.js',\n name: 'index',\n\n // aliases\n extname: '.js',\n basename: 'index.js',\n dirname: 'foo/bar/baz',\n stem: 'index',\n\n // original path\n path: 'foo/bar/baz/index.js',\n\n // getters\n absolute: [Getter/Setter],\n isAbsolute: [Getter/Setter] }\n```\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [global-prefix](https://www.npmjs.com/package/global-prefix): Get the npm global path prefix. | [homepage](https://github.com/jonschlinkert/global-prefix)\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* [is-relative](https://www.npmjs.com/package/is-relative): Returns `true` if the path appears to be relative. | [homepage](https://github.com/jonschlinkert/is-relative)\n* [relative](https://www.npmjs.com/package/relative): Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file,… [more](https://www.npmjs.com/package/relative) | [homepage](https://github.com/jonschlinkert/relative)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/parse-filepath/issues/new).\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install verb && npm run docs\n```\n\nOr, if [verb](https://github.com/verbose/verb) is installed globally:\n\n```sh\n$ verb\n```\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/jonschlinkert/parse-filepath/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/jonschlinkert/parse-filepath.git" }, "scripts": { "test": "mocha" }, "verb": { "run": true, "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "highlight": "global-prefix", "list": [ "global-prefix", "is-absolute", "is-relative", "relative" ] }, "reflinks": [ "verb" ], "lint": { "reflinks": true } }, "version": "1.0.2" }