{"_id":"mine","_rev":"84631","name":"mine","description":"Digs into a javascript file looking for require calls. Used to statically extract common js dependencies.","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"time":{"modified":"2021-06-03T10:27:21.000Z","created":"2013-05-01T22:42:33.472Z","0.1.0":"2014-07-25T21:41:31.456Z","0.0.2":"2014-02-13T03:05:21.538Z","0.0.1":"2014-02-07T17:40:44.649Z","0.0.0":"2013-05-01T22:42:33.472Z"},"users":{"itonyyo":true},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"git://github.com/creationix/miner.git"},"versions":{"0.1.0":{"name":"mine","version":"0.1.0","description":"Digs into a javascript file looking for require calls. Used to statically extract common js dependencies.","main":"mine.js","repository":{"type":"git","url":"git://github.com/creationix/miner.git"},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","devDependencies":{"tap":"~0.4.8"},"scripts":{"test":"tap test/*.js"},"bugs":{"url":"https://github.com/creationix/miner/issues"},"homepage":"https://github.com/creationix/miner","_id":"mine@0.1.0","_shasum":"91937531216183d1fce497c01ce0eef61f8e73d3","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"dist":{"shasum":"91937531216183d1fce497c01ce0eef61f8e73d3","size":2613,"noattachment":false,"key":"/mine/-/mine-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mine/download/mine-0.1.0.tgz"},"directories":{},"publish_time":1406324491456,"_cnpm_publish_time":1406324491456,"_hasShrinkwrap":false},"0.0.2":{"name":"mine","version":"0.0.2","description":"Digs into a javascript file looking for require calls. Used to statically extract common js dependencies.","main":"mine.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/creationix/miner.git"},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","devDependencies":{"tap":"~0.4.8"},"bugs":{"url":"https://github.com/creationix/miner/issues"},"homepage":"https://github.com/creationix/miner","_id":"mine@0.0.2","dist":{"shasum":"77c2d327f8357352e69fc3e618f7476539fa0c40","size":2682,"noattachment":false,"key":"/mine/-/mine-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mine/download/mine-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1392260721538,"_hasShrinkwrap":false,"_cnpm_publish_time":1392260721538},"0.0.1":{"name":"mine","version":"0.0.1","description":"Digs into a javascript file looking for require calls. Used to statically extract common js dependencies.","main":"mine.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/creationix/miner.git"},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","devDependencies":{"tap":"~0.4.8"},"bugs":{"url":"https://github.com/creationix/miner/issues"},"homepage":"https://github.com/creationix/miner","_id":"mine@0.0.1","dist":{"shasum":"87abec8f438214dc3dce4ef2b8ef3c7b3f4901e0","size":2543,"noattachment":false,"key":"/mine/-/mine-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mine/download/mine-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1391794844649,"_hasShrinkwrap":false,"_cnpm_publish_time":1391794844649},"0.0.0":{"name":"mine","version":"0.0.0","description":"Digs into a javascript file looking for require calls. Used to statically extract common js dependencies.","main":"mine.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/creationix/miner.git"},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"license":"MIT","_id":"mine@0.0.0","dist":{"shasum":"498e2b3d6d2931454f2d2a939536cf841dc3ccb6","size":950,"noattachment":false,"key":"/mine/-/mine-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mine/download/mine-0.0.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1367448153472,"_hasShrinkwrap":false,"_cnpm_publish_time":1367448153472}},"readme":"mine.js\n=======\n\nThe mine script accepts js source and returns all the require call locations as well as the target string. This is a submodule of [js-linker](https://github.com/creationix/js-linker) and [my-filters](https://github.com/creationix/my-filters).\n\n``` js\nvar mine = require('js-linker/mine.js');\nvar fs = require('fs');\nvar code = fs.readFileSync(\"test.js\");\nvar deps = mine(code);\n```\n","_attachments":{},"homepage":"https://github.com/creationix/miner","bugs":{"url":"https://github.com/creationix/miner/issues"},"license":"MIT"}