-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 2.04 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": "deputy",
"description": "caching layer for detective",
"version": "0.0.4",
"repository": {
"type": "git",
"url": "git://github.com/substack/node-deputy.git"
},
"main": "index.js",
"keywords": [
"detective",
"require",
"cache"
],
"directories": {
"lib": ".",
"example": "example",
"test": "test"
},
"scripts": {
"test": "tap test/*.js"
},
"dependencies": {
"mkdirp": "~0.3.3",
"detective": "~0.2.0"
},
"devDependencies": {
"tap": "0.0.x"
},
"engines": {
"node": ">=0.4.0"
},
"license": "MIT",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"readme": "deputy\n======\n\nThis module is a caching layer around\n[node-detective](http://github.com/substack/node-detective).\n\n[![build status](https://secure.travis-ci.org/substack/node-deputy.png)](http://travis-ci.org/substack/node-deputy)\n\nexample\n=======\n\ncache.js\n--------\n\n``` js\nvar deputy = require('deputy');\nvar detective = deputy(process.env.HOME + '/.config/deputy.json');\n\nvar deps = detective.find('require(\"a\"); require(\"b\")');\nconsole.dir(deps);\n```\n\noutput:\n\n```\n$ node cache.js \n{ strings: [ 'a', 'b' ], expressions: [] }\n$ cat ~/.config/deputy.json \n{\"55952d490bd28e3e256f0b036ced834d\":{\"strings\":[\"a\",\"b\"],\"expressions\":[]}}\n```\n\nmethods\n=======\n\n``` js\nvar deputy = require('deputy')\n```\n\nvar detective = deputy(cacheFile)\n---------------------------------\n\nReturn a new [detective](http://github.com/substack/node-detective)\nobject using `cacheFile` for caching.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n npm install deputy\n\nlicense\n=======\n\nMIT/X11\n",
"readmeFilename": "README.markdown",
"bugs": {
"url": "https://github.com/substack/node-deputy/issues"
},
"_id": "deputy@0.0.4",
"dist": {
"shasum": "f3d474832bb427c31ee81a8eca9846f8d82fac88"
},
"_from": "deputy@~0.0.3",
"_resolved": "https://registry.npmjs.org/deputy/-/deputy-0.0.4.tgz"
}