├── .gitignore ├── .travis.yml ├── LICENSE.txt ├── README.md ├── bin └── unused ├── index.js ├── lib └── context.js ├── package.json └── test ├── expected ├── basic.js.json ├── for.js.json ├── function-with-params.js.json ├── function.js.json ├── property.js.json └── scoped.js.json ├── fixtures ├── basic.js ├── for.js ├── function-with-params.js ├── function.js ├── property.js └── scoped.js ├── mocha.opts └── runner.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/README.md -------------------------------------------------------------------------------- /bin/unused: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/bin/unused -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/index.js -------------------------------------------------------------------------------- /lib/context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/lib/context.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/package.json -------------------------------------------------------------------------------- /test/expected/basic.js.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/expected/basic.js.json -------------------------------------------------------------------------------- /test/expected/for.js.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/expected/for.js.json -------------------------------------------------------------------------------- /test/expected/function-with-params.js.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/expected/function-with-params.js.json -------------------------------------------------------------------------------- /test/expected/function.js.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/expected/function.js.json -------------------------------------------------------------------------------- /test/expected/property.js.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /test/expected/scoped.js.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/expected/scoped.js.json -------------------------------------------------------------------------------- /test/fixtures/basic.js: -------------------------------------------------------------------------------- 1 | // single unused variable 2 | 3 | var a = 5; 4 | -------------------------------------------------------------------------------- /test/fixtures/for.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/fixtures/for.js -------------------------------------------------------------------------------- /test/fixtures/function-with-params.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/fixtures/function-with-params.js -------------------------------------------------------------------------------- /test/fixtures/function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/fixtures/function.js -------------------------------------------------------------------------------- /test/fixtures/property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/fixtures/property.js -------------------------------------------------------------------------------- /test/fixtures/scoped.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/fixtures/scoped.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --ui qunit 2 | -------------------------------------------------------------------------------- /test/runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kami/node-unused/HEAD/test/runner.js --------------------------------------------------------------------------------