How to install npm-asset composer?

Hello! Tell me, please, if you have for example a project on yii2, install the packages using composer. There is a js library, it says that the install using "npm install example.js".
How to install with composer?
Tried to do a "composer require npm-asset/example", but when installing there is a bug
Unknown downloader type: npm-signature. Available types: git, svn, fossil, hg, perforce, zip, rar, tar, gzip, xz, phar, file, path.
June 3rd 19 at 20:22
0 answer

Find more questions by tags Composernpm