UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

175 lines (174 loc) 8.93 kB
{ "_args": [ [ { "raw": "is-absolute@^1.0.0", "scope": null, "escapedName": "is-absolute", "name": "is-absolute", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\parse-filepath" ] ], "_from": "is-absolute@>=1.0.0 <2.0.0", "_id": "is-absolute@1.0.0", "_inCache": true, "_location": "/is-absolute", "_nodeVersion": "7.7.3", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-absolute-1.0.0.tgz_1499933130256_0.19675731472671032" }, "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "_npmVersion": "5.2.0", "_phantomChildren": {}, "_requested": { "raw": "is-absolute@^1.0.0", "scope": null, "escapedName": "is-absolute", "name": "is-absolute", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/parse-filepath" ], "_resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", "_shasum": "395e1ae84b11f26ad1795e73c17378e48a301576", "_shrinkwrap": null, "_spec": "is-absolute@^1.0.0", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\parse-filepath", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/is-absolute/issues" }, "contributors": [ { "name": "Elan Shanker", "url": "https://github.com/es128" }, { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" }, { "name": "Shinnosuke Watanabe", "url": "https://shinnn.github.io" }, { "url": "http://sobak.pl" } ], "dependencies": { "is-relative": "^1.0.0", "is-windows": "^1.0.1" }, "description": "Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.", "devDependencies": { "gulp-format-md": "^1.0.0", "mocha": "^3.4.2" }, "directories": {}, "dist": { "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", "shasum": "395e1ae84b11f26ad1795e73c17378e48a301576", "tarball": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "gitHead": "7291e9c5f0960a7d80ffe8101163d4b996856641", "homepage": "https://github.com/jonschlinkert/is-absolute", "keywords": [ "absolute", "built", "built-in", "check", "core", "detect", "dir", "file", "filepath", "is", "is-absolute", "isabsolute", "normalize", "path", "path-absolute", "path-is-absolute", "paths", "polyfill", "relative", "resolve", "shim", "slash", "slashes", "uri", "url", "util", "utils" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "doowb", "email": "brian.woodward@gmail.com" }, { "name": "jonschlinkert", "email": "github@sellside.com" } ], "name": "is-absolute", "optionalDependencies": {}, "readme": "# is-absolute [![NPM version](https://img.shields.io/npm/v/is-absolute.svg?style=flat)](https://www.npmjs.com/package/is-absolute) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-absolute.svg?style=flat)](https://npmjs.org/package/is-absolute) [![NPM total downloads](https://img.shields.io/npm/dt/is-absolute.svg?style=flat)](https://npmjs.org/package/is-absolute) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-absolute.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-absolute)\n\n> Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-absolute\n```\n\nOriginally based on the `isAbsolute` utility method in [express](https://github.com/visionmedia/express).\n\n## Usage\n\n```js\nvar isAbsolute = require('is-absolute');\n\nisAbsolute('a/b/c.js');\n//=> 'false'\nisAbsolute('/a/b/c.js');\n//=> 'true'\n```\n\n**Explicitly test windows paths**\n\n```js\nisAbsolute.posix('/foo/bar');\nisAbsolute.posix('/user/docs/Letter.txt');\n//=> true\n\nisAbsolute.posix('foo/bar');\n//=> false\n```\n\n**Explicitly test windows paths**\n\n```js\nvar isAbsolute = require('is-absolute');\n\nisAbsolute.win32('c:\\\\');\nisAbsolute.win32('//C://user\\\\docs\\\\Letter.txt');\nisAbsolute.win32('\\\\\\\\unc\\\\share');\nisAbsolute.win32('\\\\\\\\unc\\\\share\\\\foo');\nisAbsolute.win32('\\\\\\\\unc\\\\share\\\\foo\\\\');\nisAbsolute.win32('\\\\\\\\unc\\\\share\\\\foo\\\\bar');\nisAbsolute.win32('\\\\\\\\unc\\\\share\\\\foo\\\\bar\\\\');\nisAbsolute.win32('\\\\\\\\unc\\\\share\\\\foo\\\\bar\\\\baz');\n//=> true\n\nisAbsolute.win32('a:foo/a/b/c/d');\nisAbsolute.win32(':\\\\');\nisAbsolute.win32('foo\\\\bar\\\\baz');\nisAbsolute.win32('foo\\\\bar\\\\baz\\\\');\n//=> false\n```\n\n## About\n\n### Related projects\n\n* [is-dotfile](https://www.npmjs.com/package/is-dotfile): Return true if a file path is (or has) a dotfile. Returns false if the… [more](https://github.com/jonschlinkert/is-dotfile) | [homepage](https://github.com/jonschlinkert/is-dotfile \"Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.\")\n* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern… [more](https://github.com/jonschlinkert/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob \"Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet\")\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 \"Returns `true` if the path appears to be relative.\")\n* [is-unc-path](https://www.npmjs.com/package/is-unc-path): Returns true if a filepath is a windows UNC file path. | [homepage](https://github.com/jonschlinkert/is-unc-path \"Returns true if a filepath is a windows UNC file path.\")\n* [is-valid-glob](https://www.npmjs.com/package/is-valid-glob): Return true if a value is a valid glob pattern or patterns. | [homepage](https://github.com/jonschlinkert/is-valid-glob \"Return true if a value is a valid glob pattern or patterns.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 35 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [es128](https://github.com/es128) |\n| 1 | [shinnn](https://github.com/shinnn) |\n| 1 | [Sobak](https://github.com/Sobak) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 13, 2017._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/is-absolute.git" }, "scripts": { "test": "mocha" }, "verb": { "run": true, "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "is-dotfile", "is-glob", "is-relative", "is-unc-path", "is-valid-glob" ] }, "reflinks": [ "verb" ], "lint": { "reflinks": true } }, "version": "1.0.0" }