layaair2-cmd
Version:
layaair version 2 toolkit
260 lines (259 loc) • 7.47 kB
JSON
{
"_args": [
[
{
"raw": "detective@^5.0.2",
"scope": null,
"escapedName": "detective",
"name": "detective",
"rawSpec": "^5.0.2",
"spec": ">=5.0.2 <6.0.0",
"type": "range"
},
"E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\module-deps"
]
],
"_from": "detective@^5.0.2",
"_hasShrinkwrap": false,
"_id": "detective@5.1.0",
"_location": "/detective",
"_nodeVersion": "9.6.1",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/detective_5.1.0_1519812164844_0.9201311874339202"
},
"_npmUser": {
"name": "goto-bus-stop",
"email": "rene@kooi.me"
},
"_npmVersion": "5.7.1",
"_phantomChildren": {},
"_requested": {
"raw": "detective@^5.0.2",
"scope": null,
"escapedName": "detective",
"name": "detective",
"rawSpec": "^5.0.2",
"spec": ">=5.0.2 <6.0.0",
"type": "range"
},
"_requiredBy": [
"/module-deps"
],
"_resolved": "https://registry.npmjs.org/detective/-/detective-5.1.0.tgz",
"_shasum": "7a20d89236d7b331ccea65832e7123b5551bb7cb",
"_shrinkwrap": null,
"_spec": "detective@^5.0.2",
"_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\module-deps",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"bin": {
"detective": "bin/detective.js"
},
"bugs": {
"url": "https://github.com/browserify/detective/issues"
},
"dependencies": {
"acorn-node": "^1.3.0",
"defined": "^1.0.0",
"minimist": "^1.1.1"
},
"description": "find all require() calls by walking the AST",
"devDependencies": {
"tap": "^10.7.3"
},
"directories": {},
"dist": {
"integrity": "sha512-TFHMqfOvxlgrfVzTEkNBSh9SvSNX/HfF4OFI2QFGCyPm02EsyILqnUeb5P6q7JZ3SFNTBL5t2sePRgrN4epUWQ==",
"shasum": "7a20d89236d7b331ccea65832e7123b5551bb7cb",
"tarball": "https://registry.npmjs.org/detective/-/detective-5.1.0.tgz",
"fileCount": 41,
"unpackedSize": 19590
},
"engines": {
"node": ">=0.8.0"
},
"gitHead": "3ec100f56fc568675a6e33cd14314953822a45d5",
"homepage": "https://github.com/browserify/detective#readme",
"keywords": [
"analyze",
"ast",
"require",
"source"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "ahdinosaur",
"email": "michael.williams@enspiral.com"
},
{
"name": "anandthakker",
"email": "vestibule@anandthakker.net"
},
{
"name": "ashaffer88",
"email": "darawk@gmail.com"
},
{
"name": "balupton",
"email": "b@lupton.cc"
},
{
"name": "bpostlethwaite",
"email": "post.ben.here@gmail.com"
},
{
"name": "bret",
"email": "bcomnes@gmail.com"
},
{
"name": "cwmma",
"email": "calvin.metcalf@gmail.com"
},
{
"name": "dcousens",
"email": "npm@dcousens.com"
},
{
"name": "dominictarr",
"email": "dominic.tarr@gmail.com"
},
{
"name": "elnounch",
"email": "contact@elnounch.net"
},
{
"name": "emilbayes",
"email": "github@tixz.dk"
},
{
"name": "feross",
"email": "feross@feross.org"
},
{
"name": "forbeslindesay",
"email": "forbes@lindesay.co.uk"
},
{
"name": "fpereira1",
"email": "pereira.filype@gmail.com"
},
{
"name": "garann",
"email": "garann@gmail.com"
},
{
"name": "gkatsev",
"email": "me@gkatsev.com"
},
{
"name": "goto-bus-stop",
"email": "rene@kooi.me"
},
{
"name": "hughsk",
"email": "hughskennedy@gmail.com"
},
{
"name": "indutny",
"email": "fedor@indutny.com"
},
{
"name": "jmm",
"email": "npm-public@jessemccarthy.net"
},
{
"name": "jprichardson",
"email": "jprichardson@gmail.com"
},
{
"name": "jryans",
"email": "jryans@gmail.com"
},
{
"name": "leichtgewicht",
"email": "martin.heidegger@gmail.com"
},
{
"name": "mafintosh",
"email": "mathiasbuus@gmail.com"
},
{
"name": "mattdesl",
"email": "dave.des@gmail.com"
},
{
"name": "maxogden",
"email": "max@maxogden.com"
},
{
"name": "mellowmelon",
"email": "palmermebane@gmail.com"
},
{
"name": "parshap",
"email": "parshap+npm@gmail.com"
},
{
"name": "pkrumins",
"email": "peteris.krumins@gmail.com"
},
{
"name": "sethvincent",
"email": "sethvincent@gmail.com"
},
{
"name": "stevemao",
"email": "maochenyan@gmail.com"
},
{
"name": "substack",
"email": "substack@gmail.com"
},
{
"name": "tehshrike",
"email": "me@JoshDuff.com"
},
{
"name": "terinjokes",
"email": "terinjokes@gmail.com"
},
{
"name": "thlorenz",
"email": "thlorenz@gmx.de"
},
{
"name": "ungoldman",
"email": "ungoldman@gmail.com"
},
{
"name": "yerkopalma",
"email": "yerko.palma@usach.cl"
},
{
"name": "yoshuawuyts",
"email": "yoshuawuyts@gmail.com"
},
{
"name": "zertosh",
"email": "zertosh@gmail.com"
}
],
"name": "detective",
"optionalDependencies": {},
"readme": "# detective\n\nfind all calls to `require()` by walking the AST\n\n[](http://travis-ci.org/browserify/detective)\n\n# example\n\n## strings\n\nstrings_src.js:\n\n``` js\nvar a = require('a');\nvar b = require('b');\nvar c = require('c');\n```\n\nstrings.js:\n\n``` js\nvar detective = require('detective');\nvar fs = require('fs');\n\nvar src = fs.readFileSync(__dirname + '/strings_src.js');\nvar requires = detective(src);\nconsole.dir(requires);\n```\n\noutput:\n\n```\n$ node examples/strings.js\n[ 'a', 'b', 'c' ]\n```\n\n# methods\n\n``` js\nvar detective = require('detective');\n```\n\n## detective(src, opts)\n\nGive some source body `src`, return an array of all the `require()` calls with\nstring arguments.\n\nThe options parameter `opts` is passed along to `detective.find()`.\n\n## var found = detective.find(src, opts)\n\nGive some source body `src`, return `found` with:\n\n* `found.strings` - an array of each string found in a `require()`\n* `found.expressions` - an array of each stringified expression found in a\n`require()` call\n* `found.nodes` (when `opts.nodes === true`) - an array of AST nodes for each\nargument found in a `require()` call\n\nOptionally:\n\n* `opts.word` - specify a different function name instead of `\"require\"`\n* `opts.nodes` - when `true`, populate `found.nodes`\n* `opts.isRequire(node)` - a function returning whether an AST `CallExpression`\nnode is a require call\n* `opts.parse` - supply options directly to\n[acorn](https://npmjs.org/package/acorn) with some support for esprima-style\noptions `range` and `loc`\n* `opts.ecmaVersion` - default: 9\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install detective\n```\n\n# license\n\nMIT\n",
"readmeFilename": "readme.markdown",
"repository": {
"type": "git",
"url": "git://github.com/browserify/detective.git"
},
"scripts": {
"test": "tap test/*.js"
},
"version": "5.1.0"
}