alexgorbatchev / crc

Blazingly fast CRC implementations for node.js and browser
MIT License
350 stars 72 forks source link

Doc appears to be written for a module named "crc", not one named "node-crc" #74

Closed jfriend00 closed 1 year ago

jfriend00 commented 2 years ago

For example after installing:

npm install node-crc

You cannot follow the doc and use:

import crc from 'crc';

As you will get an error message about not being able to find module crc. Instead, you have to use this:

import crc from 'node-crc';

alexgorbatchev commented 1 year ago

I renamed the repo to avoid the confusion. You are looking at https://www.npmjs.com/package/node-crc . This repo is for https://www.npmjs.com/package/crc