utilidades
v1.4.1
Published
Just simple utils for javascript :)
Downloads
61
Readme
Utilidades
Description
Just some simple JavaScript Utils.
Usage
Using NPM (Recommend)
Install Package
npm i utilidadesor
npm i https://github.com/201flaviosilva/utilidades#v1.4.1Import to the project
import { randomNumber } from "utilidades";
console.log(randomNumber(1, 20));Using CDN (jsdelivr)
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/utils.min.js"></script>
<script src="./your-js-file.js"></script>// ./your-js-file.js
console.log(randomNumber(1, 20));Available Commands
| Command | Description |
| ----------------- | ----------------------------------------------------------------- |
| npm install | Install project dependencies |
| npm run clear | Delete the "build" and "types" and "docs" folder |
| npm run jsDoc | Build a docs page based in the jsdoc |
| npm run types | Build the types |
| npm run compile | Builds code bundle with production settings (minification, etc..) |
| npm run build | Bundle the code, create the types and teh docs folder |
| npm run bump | Update lib in the npm |
