3 ms·
npm does support "scoped packages"[1], since 2015. More projects are starting to use them, e.g. Angular publishes packages like @angular/core, @angular/forms, e
by mirkonasato 9y ago
npm does support "scoped packages"[1], since 2015. More projects are starting to use them, e.g. Angular publishes packages like @angular/core, @angular/forms, etc.
[1] https://docs.npmjs.com/misc/scope https://docs.npmjs.com/misc/scope
- sebazzz 9y agoYes, but they don't enforce it for new packages.
- always_good 9y agoYeah, this is why I snuck "by default" in there. It's not that great unless it's required. For example, the bare "sqlite3" package name will always sound official/canonical next to "@JoshuaWise/sqlite3" and people will forever accidentally install it even though they want a scope. Just like how users type in domain.com when they really wanted domain.org.