Thanks for your interest in contributing!
git clone https://github.com/lloyal-ai/tsampler.git
cd tsampler
npm install
npm testnpm run build # Compile TypeScript
npm test # Run tests (vitest)- Fork the repo and create your branch from
main - Add tests for any new functionality
- Ensure tests pass (
npm test) - Submit a PR
- TypeScript strict mode
- No external runtime dependencies (zero-dep library)
- Match llama.cpp behavior where applicable
Open an issue at https://github.com/lloyal-ai/tsampler/issues
By contributing, you agree that your contributions will be licensed under the Apache 2.0 License.