npm i --save @darkwolf/custom-error.mjs
npm i --save @darkwolf/custom-error.cjs
// ECMAScript
import CustomError from '@darkwolf/custom-error.mjs'
// CommonJS
const CustomError = require('@darkwolf/custom-error.cjs')
new CustomError('Invalid value.', 'invalid-value')