dylang / npm-check

Check for outdated, incorrect, and unused dependencies.
https://www.npmjs.com/package/npm-check
MIT License
6.58k stars 239 forks source link

support check import X from Y #384

Open long76 opened 4 years ago

long76 commented 4 years ago
import Inputmask from 'inputmask';

but Depcheck did not find code similar to require('inputmask') or import from 'inputmask'.

Shuunen commented 4 years ago

If you are using typescript, you'll need it globally : npm i -g npm-check typescript

long76 commented 4 years ago

If you are using typescript, you'll need it globally : npm i -g npm-check typescript

i don't use typescript only js ES5/6 with modules