Welcome to rjutils-collection 👋
Easy and Lightweight Utilitiees
Install
npm i rjutils-collection
Usage
Loading an env File as json
const path = require('node:path')
const utils = require('rjutils-collection')
const env = utils.loadEnv(path.join(__dirname, '.env'))
Generating a Random Number in Range
const utils = require('rjutils-collection')
const min = 50
const max = 100
const number = utils.randomNum(min, max)
Generating a Random String
const utils = require('rjutils-collection')
const string = utils.randomStr({
length: 25,
numbers: true,
symbols: true,
uppercase: true,
lowercase: true
})
Author
👤 0x4096
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2022 0x4096.
This project is MIT licensed.