Can be managed using yarn, npm, or jspm.
yarn add @codec-bytes/error
npm install @codec-bytes/error --save
jspm install npm:@codec-bytes/error
Import the library where needed
const {EncodeError, DecodeError} = await import('@codec-bytes/error'); // or import {EncodeError, DecodeError} from '@codec-bytes/error';
More examples in the test files.