This package enables Node.js applications to use a CAN bus over USB.
- Supported version of NodeJS (preferably a LTS version)
- A C/C++ compiler that supports C++20
- Internet connection to pull from upstream CANBridge
- Clone repository
- Run
npm i
to install dependencies and compile the Node APIs - To test, run
npm run pretest
to prepare the testing andnpm test
to actually perform the testing of the repository
- Check out the
main
branch - Update
version
field inpackage.json
- Run
npm install
- Commit change to git
- Run
git tag v<version>
- Run
git push
- Run
git push --tags
- Run
npm publish --access public
- Create a new release on GitHub with an explanation of the changes