DEV Community

Discussion on: NPM explain to me like I am five

Collapse
 
tomekbuszewski profile image
Tomek Buszewski

When you want to build something today, you use pre-made components, like Lego blocks. NPM is a Lego box with all the sizes, shapes and colors you can ask for, and then some. Just make sure you read the manual first because there are some Duplo ones that don't match!

On a more serious note, NPM is a package manager and repository. People publish there ready to use fragments of code – "packages" – written in JavaScript that are free to use. The standard for the JS community. Just remember to use the packages that are maintained (check via GitHub). You don't want unreliable vendors :)

Collapse
 
fultonbrowne profile image
Fulton Browne

Thanks for the tips.