{"_id":"unused","_rev":"19-d1aeaf9b32ba69b49573be450bad08ec","name":"unused","description":"A module which reports unused variables in your code.","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"unused","description":"A module which reports unused variables in your code.","version":"0.1.0","author":{"name":"Tomaz Muraus","email":"tomaz+npm@tomaz.me"},"keywords":["unused","variables","imports","unused variables","unused imports"],"homepage":"https://github.com/Kami/node-unused","repository":{"type":"git","url":"git://github.com/Kami/node-unused.git"},"directories":{"lib":"./lib","bin":"./bin"},"dependencies":{"optimist":"= 0.2.6","sprintf":"0.1.1","terminal":"= 0.1.2","findit":"0.1.1","burrito":"0.2.8"},"engines":{"node":">= 0.4.0"},"main":"./index","bin":{"unused":"./bin/unused"},"_id":"unused@0.1.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"59308a533c5c658d6c04b6365673af2e9f2bc5aa","tarball":"https://registry.npmjs.org/unused/-/unused-0.1.0.tgz","integrity":"sha512-wDN+fIfEHZixpkaG4Std8weaO4k28rIb/h+alAVsUnvFggkgIlD5P8ffaGMZWmBNuS9/pnIx6HcJx6Wi0gHrkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcmPmFSBlQS98x3vSME9o1lgOjpNq4Lnp1slnTwML81AiEA0Bs7KbAjiC6CHhm+mowuqJEwLmsvnMj8H5rbJmL0Gf0="}]},"scripts":{},"maintainers":[{"name":"kami","email":"tomaz@tomaz.me"}]},"0.2.0":{"name":"unused","description":"A module which reports unused variables in your code.","version":"0.2.0","author":{"name":"Tomaz Muraus","email":"tomaz+npm@tomaz.me"},"keywords":["unused","variables","imports","unused variables","unused imports"],"homepage":"https://github.com/Kami/node-unused","repository":{"type":"git","url":"git://github.com/Kami/node-unused.git"},"dependencies":{"optimist":"0.3.5","esprima":"1.0.0"},"devDependencies":{"mocha":"1.6.0"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.4.0"},"main":"./index.js","bin":{"unused":"./bin/unused"},"_npmUser":{"name":"kami","email":"tomaz+npm@tomaz.me"},"_id":"unused@0.2.0","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"3cdb73cb8d8b09d425f458f96392b335311188ac","tarball":"https://registry.npmjs.org/unused/-/unused-0.2.0.tgz","integrity":"sha512-4QCNPwB+we5hdw5BICH4ZmggB0taz148k5mJpvwrVPUBBrMUzx7VfWaojz8svuibtu/Kzgppute4HGGbyQAfhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJ+ZvrtWEQ2IGO64FNY2LdfMaHxLEu0DLiXjRu1zdSnAiEAxKWShgp3ip8zO4j2Bu2z6pl+g4UL76kgCE+yclzFtxc="}]},"maintainers":[{"name":"kami","email":"tomaz@tomaz.me"}]},"0.2.1":{"name":"unused","description":"A module which reports unused variables in your code.","version":"0.2.1","author":{"name":"Tomaz Muraus","email":"tomaz+npm@tomaz.me"},"keywords":["unused","variables","imports","unused variables","unused imports"],"homepage":"https://github.com/Kami/node-unused","repository":{"type":"git","url":"git://github.com/Kami/node-unused.git"},"dependencies":{"optimist":"0.3.5","esprima":"1.0.0"},"devDependencies":{"mocha":"1.6.0"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.4.0"},"main":"./index.js","bin":{"unused":"./bin/unused"},"bugs":{"url":"https://github.com/Kami/node-unused/issues"},"_id":"unused@0.2.1","dist":{"shasum":"459d2731cb56057f724e538524e2e20e7575623f","tarball":"https://registry.npmjs.org/unused/-/unused-0.2.1.tgz","integrity":"sha512-1xAm9df4WhwH9t5MWSGCWUWhoCPq9lvG8m/JjkeVBuYdVN0wNEP/WsC1xb41b3qoEBk5UbURzXYMU0cdz6NJrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZg0PseSq5jCE15lAMJJO78RBo5vTdfFOomHbnjqWE9AiBCZQaeQoQlm4ffr+j6+F6xVOLejFXeM8pQAiy31Sldww=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"kami","email":"tomaz+npm@tomaz.me"},"maintainers":[{"name":"kami","email":"tomaz@tomaz.me"},{"name":"shtylman","email":"shtylman@gmail.com"}]},"0.2.2":{"name":"unused","description":"A module which reports unused variables in your code.","version":"0.2.2","author":{"name":"Tomaz Muraus","email":"tomaz+npm@tomaz.me"},"keywords":["unused","variables","imports","unused variables","unused imports"],"homepage":"https://github.com/Kami/node-unused","repository":{"type":"git","url":"git://github.com/Kami/node-unused.git"},"dependencies":{"optimist":"0.6.0","esprima":"1.0.0"},"devDependencies":{"mocha":"1.6.0"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.4.0"},"main":"./index.js","bin":{"unused":"./bin/unused"},"bugs":{"url":"https://github.com/Kami/node-unused/issues"},"_id":"unused@0.2.2","dist":{"shasum":"ce12480489f3dd93d10f1b7ac83cc0d58423eaa0","tarball":"https://registry.npmjs.org/unused/-/unused-0.2.2.tgz","integrity":"sha512-u8P6WPj2iObTiHcXn60TYfVaB6wAmvP92Dd+vdV2UTi7pNnjliL6MkGEK23ahTydZyxb7KJQrblYS7Cn6av03Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6Mh69jei7s4ienzKK2IPx2F7MF+MQ25JGYQA1U29s0AiBqwzwOLvp2IwARNGuoS+ArcH98WoKqqpxzuEcdPtIC1g=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"kami","email":"tomaz+npm@tomaz.me"},"maintainers":[{"name":"kami","email":"tomaz@tomaz.me"},{"name":"shtylman","email":"shtylman@gmail.com"}]}},"maintainers":[{"name":"kami","email":"tomaz+npm@tomaz.me"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"time":{"modified":"2022-06-28T05:24:12.220Z","created":"2011-08-29T01:43:10.342Z","0.1.0":"2011-08-29T01:43:11.076Z","0.2.0":"2012-10-29T16:29:27.551Z","0.2.1":"2013-07-03T10:57:34.702Z","0.2.2":"2013-07-03T12:34:51.209Z"},"author":{"name":"Tomaz Muraus","email":"tomaz+npm@tomaz.me"},"repository":{"type":"git","url":"git://github.com/Kami/node-unused.git"},"users":{"denji":true,"cycomachead":true,"nsisodiya":true},"homepage":"https://github.com/Kami/node-unused","keywords":["unused","variables","imports","unused variables","unused imports"],"bugs":{"url":"https://github.com/Kami/node-unused/issues"},"readme":"# unused [![Build Status](https://secure.travis-ci.org/Kami/node-unused.png?branch=master)](https://travis-ci.org/Kami/node-unused)\n\nIdentify unused variables in your javascript code.\n\n## cli\n\n```shell\n$ unused /path/to/file.js\n```\n\n### --ignore-params\n\nComma separated list of function parameters to ignore during unused checks. You often want to know when you forgot to handle `err` or other parameters, but sometimes you have placeholders (`req`, `res`, etc) which you might want to ignore\n\n```shell\n$ unused /path/to/file.js --ignore-params req,res,_\n```\n\n## api\n\n### unused(src)\n\n> src is a javascript source string\n\nReturns an array of objects specifying the name, location, and if the variable is a function parameter\n\n```\n{\n    name: 'foo',\n    loc: {\n        line: 1,\n        column: 1,\n    },\n    param: true || false\n}\n```\n\n## install\n\n```shell\nnpm install unused\n```\n","readmeFilename":"README.md"}