APM (AMD Package Manager) is a npm-based package manager for AMD.
If your node version >= 4.7.0, feel free to install.
$ [sudo] npm install -g apmjs
Make sure you have it
$ apmjs -v
e.g. install https://registry.npmjs.org/@searchfe%2Fpromise
$ apmjs install @searchfe/promise
For more details, see: https://github.com/apmjs/apmjs/wiki.
Differences with NPM cli
apmjs install: Resolve and flatten ddependencies, see dependency-resolving
apmjs link: Link to/from
<npm-prefix>/lib/amd_modules, install as needed
apmjs unlink: Unlink global AMD modules
apmjs version: Prints apmjs version, of course.
.jsis not allowed in package name, since
.jsis always appended when require.js fetching scripts.