0.2.0 • Published 2 years ago
lto v0.2.0
Installation
Using npm
npm install ltoUsing yarn
yarn add ltoUsing pnpm
pnpm install ltoUsage
Running the Command
To execute the package directly, use:
npx lto
# 1 4 11 14 25 43In Your JavaScript Code
You can also integrate lto into your JavaScript projects. Here's how you can use it:
const { MAX_NUMBER, MIN_NUMBER, create, random } = require('lto');
console.log(MAX_NUMBER, MIN_NUMBER); // 45 1
console.log(random()); // 8
console.log(create()); // [ 2, 4, 10, 16, 19, 30 ]