Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jastinxyz/scramb
a useful package for some random functions related to javascript with few lines and types.
https://github.com/jastinxyz/scramb
number random random-option randomize scrambler something-random string
Last synced: 2 months ago
JSON representation
a useful package for some random functions related to javascript with few lines and types.
- Host: GitHub
- URL: https://github.com/jastinxyz/scramb
- Owner: JastinXyz
- License: mit
- Created: 2021-12-06T08:07:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-24T04:20:07.000Z (over 2 years ago)
- Last Synced: 2024-10-12T10:44:17.861Z (3 months ago)
- Topics: number, random, random-option, randomize, scrambler, something-random, string
- Language: JavaScript
- Homepage: https://jastinxyz.github.io/scramb
- Size: 53.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# SCRAMB
![scramb](https://img.shields.io/badge/Scramb-Randomize%20anything...-brightgreen?style=for-the-badge)
![npm](https://img.shields.io/npm/v/scramb?label=Current%20Version&style=for-the-badge)
![npm](https://img.shields.io/npm/dt/scramb?style=for-the-badge)## Instalation
```cli
npm i scramb
```## Example
```js
const scramb = require('scramb')const makeid = scramb.makeId(8)
console.log(makeid) // e.g Result: { result: 'VYbF8638' }
```## What's new in v3.0.6?
- added isInstagramURL, isYoutubeURL, isSoundcloudURL## Function
[**Find all functions in our website...**](https://jastinxyz.github.io/scramb) Maybe in the future there will be many other functions.## Changelog
[v3.0.4](https://www.npmjs.com/package/scramb/v/3.0.4)- [+] `.makeidNumber("length")` - From contributor ([ThisMe124](https://github.com/ThisMe124))
- [+] `.magicConchShell()`
- [+] `.shuffle(["array"])`
- [+] `.coin()`
- [+] `.falsy()`
- [/] Fixed the comparison in the docs...[v3.0.0](https://www.npmjs.com/package/scramb/v/3.0.0)
- [/] `Changed .trueOrFalse() to .boolean()`
- [+] `Docs At https://jastinxyz.github.io/scramb/`
- [+] `.userAgents()`
- [+] `.isEmail("STRING")`
- [+] `.isURL("STRING")`
- [+] `.rps()`[v2.0.5](https://www.npmjs.com/package/scramb/v/2.0.5)
- [+] `.isNumber()`
- [+] `.isString()`
- [+] `.minMax()`[v2.0.0](https://www.npmjs.com/package/scramb/v/2.0.0)
- First stable release# Contributors