4 ms·
This one might be a bit of a stretch for "modules you should know about". Perhaps appropriate for "how npm is on its way to becoming CPAN.
by pork 15y ago
This one might be a bit of a stretch for "modules you should know about". Perhaps appropriate for "how npm is on its way to becoming CPAN.
- shykes 15y agoDid you mean that as a good or a bad thing?
- berntb 15y agoWhy would it be bad to turn into CPAN? Is there a language packaging/install system with better infrastructure and range of code libraries? (Or is that bad, for some reason?) Edit: It seems the semver module don't have much of functionality for running tests, keeping DBs of existing/previous libearies, sending feedback to module authors of install problems or show statistics about what O/S versions had problems? (And so on.) So it isn't really like the CPAN infrastructure at all...
- substack 15y agoNor should it. semver is just about versions. npm does know about tests with scripts.test in package.json and there are some projects in the works to run tests automatically from npm like CPANTS but it's still early.
- substack 15y agoKnowing how semver works is pretty useful if you're doing node development and writing down package dependencies in package.json. semver is also for negotiating protocol version ranges between network services.