What's new in spm.js

Just found out that there is another package manager: Static Package Manager or spm.js - http://spmjs.io/ . From a brief overview of the documentation, the tool seems very similar to the "good old" Bauer.

This is true? What is the difference between spm.js that Bower or npm do not provide?

+6
source share
1 answer

spm.js, bower, volo, component, jspm, npm + browsify, etc. all serve front-end developers, and the end result you get is very similar. Here are some differences:

  • spm.js manages the binaries with a publish command similar to npm, where when bower extracts git from the endpoints (however there is a discussion to change this)
  • spm.js packages are CommonJS packages, and it is recommended to use it with the sea.js module loader , the conversation is indifferent to module loaders, npm is not optimized for front-end dev yet , however browsers help
  • Both spm.js and sea.js are popular in the China developer community, as they are run by great people in Alipay. Although there are English docs, most discussions on github take place in Chinese (e.g. discussing positioning and the future )
+9
source

Source: https://habr.com/ru/post/973366/


All Articles