An open API service indexing awesome lists of open source software.

https://github.com/voxylu/trucs

A little library which export utility functions. Some little things (trucs in french).
https://github.com/voxylu/trucs

choses quick trucs utility

Last synced: about 1 year ago
JSON representation

A little library which export utility functions. Some little things (trucs in french).

Awesome Lists containing this project

README

          

# Trucs

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

[Documentation](https://voxylu.xyz/trucs/modules/trucs.html) - [Examples](../master/examples/index.ts)

## Installation

```shell
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](https://voxylu.xyz/trucs/modules/trucs.html).