Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 636 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 636 Bytes

Trucs

A little library which export utility functions. Some little things (trucs in french). Trucs is written in typescript

Documentation - Examples

Installation

yarn add trucs
# or
npm install trucs

What's in ?

For now:

  • isInt() Test if a number is an integer.
  • random() Generates randoms numbers (int or float) or return random element of an array
  • range() Generates array of number from a number to another or scale a number from a range to another

See the documentation.