Sha256: 9f85ed8aa1e775fed5b7ac2edfe19d54a45f3ab1ee2c0149fbeb4392b8e0d473

Contents?: true

Size: 1.82 KB

Versions: 2

Compression:

Stored size: 1.82 KB

Contents

{
  "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",
  "_id": "deputy@0.0.4",
  "_from": "deputy@~0.0.3"
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprockets-browserify-0.1.2 node_modules/browserify/node_modules/deputy/package.json
sprockets-browserify-0.1.0 node_modules/browserify/node_modules/deputy/package.json