Installation
Start using Toolzy in a few simple steps.
Prerequisites
This project requires the following dependencies:
- Programming language: TypeScript
- Package manager: npm
Package installation
1
Install Toolzy in your project:
npm install toolzy
2
Import the necessary methods:
import { randomInt } from 'toolzy';
3
Use in your code:
const number = randomInt(0, 10);
console.log(number); // Number between 0 and 10
Installation for development
If you want to contribute to the project or use it from source:
1
Clone the repository:
git clone https://github.com/Tr0lgar/toolzy
2
Navigate to the project directory:
cd toolzy
3
Install dependencies:
npm install
🧪 Tests
Toolzy uses the Vitest testing framework. Run the test suite with:
npm test