unimported
lockfile-lint
unimported | lockfile-lint | |
---|---|---|
6 | 5 | |
1,966 | 770 | |
- | - | |
7.5 | 7.6 | |
2 months ago | 3 months ago | |
TypeScript | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unimported
-
How to Effortlessly Improve a Legacy Codebase Using Robots
Run static analysis e.g. lint with lockfile-lint, Stylelint, ESLint, check for unimported files using unimported, and identify potential security vulnerabilities
- Find and fix dangling files and unused dependencies in your JavaScript projects.
-
what is the easiest way of finding and removing unused dependencies/libraries in project?
I forgot to link the repo: https://github.com/smeijer/unimported
- Find and fix dangling files and unused dependencies in your JavaScript projects
- GitHub - smeijer/unimported: Find and fix dangling files and unused dependencies in your JavaScript projects.
- Unimported – Find unused source files in JavaScript projects
lockfile-lint
-
How to Effortlessly Improve a Legacy Codebase Using Robots
Run static analysis e.g. lint with lockfile-lint, Stylelint, ESLint, check for unimported files using unimported, and identify potential security vulnerabilities
-
The rising trend of malicious packages in open source ecosystems | Snyk
I built a lockfile-lint (https://github.com/lirantal/lockfile-lint) that helps with ensuring that some of these trust policies are enforced.
-
How to respond to growing supply chain security risks?
And it is happening right now. Github is opening the GitHub Advisory Database to community submissions. Awesome community NodeSecure builds cool things like scanner and js-x-ray. There are also lockfile-lint, LavaMoat, Jfrog-npm-tools (and I am sure there is more).
-
Injecting backdoors to NPM packages
An additional approach may be to use lockfile-lint, but you shouldn't just rely on this script entirely because there are other ecosystems than npm, and they may have similar issues.
-
JavaScript Security 101
Use lockfile lint to check changes in the package-lock.json which is typically not reviewed
What are some alternatives?
eslint-plugin-import - ESLint plugin with rules that help validate proper imports.
node-safe - 🤠 Make using Node.js safe again with Deno-like permissions
nx - Smart Monorepos · Fast CI
folderslint - 📁 Directory structure linter for Front-End projects
npkill - List any node_modules 📦 dir in your system and how heavy they are. You can then select which ones you want to erase to free up space 🧹
awesome-lint - Linter for Awesome lists
Ts.ED - :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!
np - A better `npm publish`
betterer - betterer makes it easier to make incremental improvements to your codebase
tbv - Package verification for npm
parse-git-diff - parse git diff
awesome-nodejs-security - Awesome Node.js Security resources