forked from goliasse/opencbs-online
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.9 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "package-json",
"version": "0.2.0",
"description": "Get the package.json of a package from the npm registry",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/sindresorhus/package-json"
},
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "mocha"
},
"files": [
"index.js"
],
"keywords": [
"npm",
"registry",
"package",
"pkg",
"package.json",
"json",
"module"
],
"dependencies": {
"got": "^0.3.0",
"registry-url": "^0.1.0"
},
"devDependencies": {
"mocha": "*"
},
"readme": "# package-json [![Build Status](https://travis-ci.org/sindresorhus/package-json.svg?branch=master)](https://travis-ci.org/sindresorhus/package-json)\n\n> Get the package.json of a package from the npm registry\n\n\n## Install\n\n```sh\n$ npm install --save package-json\n```\n\n\n## Usage\n\n```js\nvar packageJson = require('package-json');\n\npackageJson('pageres', 'latest', function (err, json) {\n\tif (err) {\n\t\tthrow err;\n\t}\n\n\tconsole.log(json);\n\t//=> { name: 'pageres', ... }\n});\n```\n\n\n## API\n\n### packageJson(name, [version], callback)\n\nYou can optionally specify a version (e.g. `0.1.0`) or `latest`. \nIf you don't specify a version you'll get the [main entry](http://registry.npmjs.org/pageres/) containing all versions.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/sindresorhus/package-json/issues"
},
"homepage": "https://github.com/sindresorhus/package-json",
"_id": "package-json@0.2.0",
"_shasum": "0316e177b8eb149985d34f706b4a5543b274bec5",
"_from": "package-json@^0.2.0",
"_resolved": "https://registry.npmjs.org/package-json/-/package-json-0.2.0.tgz"
}