Managing NPM Dependency as A Professional

Written by maxvynohradov | Published 2020/11/22
Tech Story Tags: javascript | tutorial | npm | webdev | nodejs | github | backend | cicd

TLDR Depcheck is a useful library to check what dependencies are unused or missing from package.json but used in your code base. It’s highly recommended to use it locally (for instance, on pre-commit hooks) or in remote CI to avoid the following issues: Redundant dependencies increase build/bundle size, which leads to these consequences: Docker images become bigger, AWS Lambda handler also has longer cold starts, and an event can surpass lambda size limits. Check licenses of all NPM packages that you use in a project. Check license-checker is the best way to do this!via the TL;DR App

no story

Written by maxvynohradov | Node.js, TypeScript, Serverless
Published by HackerNoon on 2020/11/22