paulmillr / noble-hashes

Audited & minimal JS implementation of hash functions, MACs and KDFs.
https://paulmillr.com/noble
MIT License
545 stars 46 forks source link

npm is unable to install the package #75

Closed Polve closed 9 months ago

Polve commented 9 months ago

I'm still a newbie in the JS ecosystem so please forgive me if I'm doing something dumb, but when I try to install the package I get an error:

$ npm i @noble-hashes npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "@noble-hashes" of package "@noble-hashes": Tags may not have any characters that encodeURIComponent encodes.

A different error with yarn

error Error: https://registry.yarnpkg.com/@noble-hashes: Request "https://registry.yarnpkg.com/@noble-hashes" returned a 405

Polve commented 9 months ago

Ok I solved the problem: npm add @noble/hashes

sorry for the noise