Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rantex

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rantex

Random package to generate random stuff , cool, right?

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

rantex

Library to generate random stuff, can use seeds, or create completely random text

USE

console.log(new rantex({text: "facebook"}))
// can out: kkeqocfabo
//randoms "facebook" string chars

console.log(new rantex({text: "facebook", consonantVowel: true}))
// can out: cokabyofer
//randoms "facebook" but sorts to vowel + consonant

console.log(new rantex())
// can out: xbbxstdlms
//complete random text , default seedSize: 10

console.log(new rantex({moreVowels: true}))
// can out: uuneewginz
//generates random stuff but, includes more vowels /randomly/ , due to size of alphabet randomzity

console.log(new rantex({moreVowels: true, consonantVowel: true}))
// can out: abwrguseli
//random text + moreVowels + sorted by consonant + vowel

console.log(new rantex({seedSize: 20, fixedText: true, text: "awesome", moreVowels: true, consonantVowel: true}))
// can out: thhoawesomepuqlkiqmnx => thho awesome puqlkiqmnx
//if text has a seedSize, means you want more random text

FAQs

Package last updated on 22 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc