no-unused-export

1.6.0 • Public • Published

no-used-export

Dependency Status devDependency Status Build Status: Linux Build Status: Windows npm version Downloads

A CLI tool to check whether exported things in a module is used by other modules.

install

yarn global add no-unused-export

features

  • check whether exported variable, function, type, class, interface in a module is used by other modules
  • check whether public members of class are used outside of the class
  • check whether less or scss variables are used
  • check whether template use non-public members for angular
  • check whether key exist for v-for and trackBy exists for *ngFor

usage

no-unused-export "src/*.ts"

exclude source files

no-unused-export "src/*.ts" --exclude "src/*.d.ts"

--exclude is repeatable

exclude exports

/**
 * @public
 */
export const foo = 1;

Keywords

none

install

npm i no-unused-export

Downloadsweekly downloads

155

version

1.6.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability