Installation
Pactole.js is a TypeScript library for managing lottery results.
Requirements
Pactole.js requires Node.js 20 or newer.
The dependencies are managed by npm.
Install the package
Install the published package with npm:
Install from source
To install the latest source version directly from GitHub:
Development setup
Clone the repository:
npm install installs runtime and development dependencies by default.
Optional: runtime-only environment
If you only need runtime dependencies, omit development dependencies:
Development
- Run tests:
Build
- Build the library:
API Reference
- Generate API docs from TSDoc comments: