@zkochan/pnpm
Version:
Fast, disk space efficient package manager
100 lines (99 loc) • 3.42 kB
JSON
{
"_args": [
[
{
"raw": "semver-regex@^1.0.0",
"scope": null,
"escapedName": "semver-regex",
"name": "semver-regex",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/parse-npm-tarball-url"
]
],
"_from": "semver-regex@>=1.0.0 <2.0.0",
"_id": "semver-regex@1.0.0",
"_inCache": true,
"_location": "/semver-regex",
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "1.4.14",
"_phantomChildren": {},
"_requested": {
"raw": "semver-regex@^1.0.0",
"scope": null,
"escapedName": "semver-regex",
"name": "semver-regex",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/parse-npm-tarball-url"
],
"_resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-1.0.0.tgz",
"_shasum": "92a4969065f9c70c694753d55248fc68f8f652c9",
"_shrinkwrap": null,
"_spec": "semver-regex@^1.0.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/parse-npm-tarball-url",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/semver-regex/issues"
},
"dependencies": {},
"description": "Regular expression for matching semver versions",
"devDependencies": {
"mocha": "*"
},
"directories": {},
"dist": {
"shasum": "92a4969065f9c70c694753d55248fc68f8f652c9",
"tarball": "https://registry.npmjs.org/semver-regex/-/semver-regex-1.0.0.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "af62aa673025e341323eb741faec60d7bbb50c70",
"homepage": "https://github.com/sindresorhus/semver-regex#readme",
"keywords": [
"semver",
"version",
"versions",
"regex",
"regexp",
"re",
"match",
"matching",
"semantic"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "semver-regex",
"optionalDependencies": {},
"readme": "# semver-regex [](https://travis-ci.org/sindresorhus/semver-regex)\n\n> Regular expression for matching [semver](https://github.com/isaacs/node-semver) versions\n\n\n## Install\n\n```sh\n$ npm install --save semver-regex\n```\n\n\n## Usage\n\n```js\nvar semverRegex = require('semver-regex');\n\nsemverRegex().test('v1.0.0');\n//=> true\n\nsemverRegex().test('1.2.3-alpha.10.beta.0+build.unicorn.rainbow');\n//=> true\n\nsemverRegex().exec('unicorn 1.0.0 rainbow')[0];\n//=> 1.0.0\n\n'unicorn 1.0.0 and rainbow 2.1.3'.match(semverRegex());\n//=> ['1.0.0', '2.1.3']\n```\n\n*It's a function so you can create multiple instances. Regexes with the global flag will have the `.lastIndex` property changed for each call to methods on the instance. Therefore reusing the instance with multiple calls will not work as expected for `.test()`.*\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/semver-regex.git"
},
"scripts": {
"test": "mocha"
},
"version": "1.0.0"
}