Thanks for your interest in contributing! Here's how to get started.
pnpm install- Fork the repo and create a branch from
main - Make your changes
- Run tests:
pnpm test - Run the linter:
pnpm run lint - Open a pull request against
main
# Run tests in watch mode
pnpm test
# Run tests with coverage
pnpm run test:covThe project includes the official TOML test suite in testcase/. If you're fixing a parsing bug, consider adding a test case there.
- Code is formatted with Prettier and linted with ESLint
- Run
pnpm run lint:fixto auto-fix issues before committing
Please open an issue with:
- A minimal TOML input that reproduces the problem
- Expected vs actual output
- Your Node.js version
By contributing, you agree that your contributions will be licensed under the MIT License.