A helper utility to throw type errors using the Produck TypeError template
- Node.js 18+
- npm
# Install dependencies
npm install
# Run tests
npm test
# Run tests with coverage
npm run coverage
# Run linting
npm run lintpackages/main/
├── src/
│ └── index.mjs # Main entry point
├── test/
│ ├── index.mjs # Test runner
│ └── main.spec.mjs # Test suite
├── index.d.ts # TypeScript type definitions
└── package.json
The project uses Node.js built-in test framework. Tests are located in packages/main/test/main.spec.mjs.
# Run all tests
npm test
# View test coverage
npm run coverage@produck/ow- Underlying error handling utility
Contributions are welcome! Please ensure:
- All tests pass:
npm test - Code is properly linted:
npm run lint - Test coverage is maintained for new features
- Commit messages follow conventional commit format
MIT © Produck
- @produck/ow - Error handling foundation
- Produck Organization