npm package that offer vibrant toolbox for crafting captivating strings, Numbers, unique hashes and passphrase sentences
Enjoy the magics by running
npm install all-str-gen
Use stringGenerator()
to generate random usernames, passwords, keys, etc with the count you want.
const allstrgen = require('all-str-gen')
# Syntax (weave your strings with these options)
const string = allstrgen.stringGenerator(count, uppercase, lowercase, number, symbols)
# Create yours
const string = allstrgen.stringGenerator(8, true, true, false, true)
# This creates a 8-character string with a dazzling mix of uppercase, lowercase, numbers, and symbols
Use generatePassphrase()
to generate passphrase with any word count you want
const allstrgen = require('all-str-gen')
# Syntax (summon powerful phrases)
const passPhrase = allstrgen.generatePassphrase(count)
# Generate a mystical passphrase (example)
const passPhrase = allstrgen.generatePassphrase(5)
# This creates a 5-word passphrase, perfect for unlocking forgotten treasures.
Use generateHash()
to make a powerfull hash
const allstrgen = require('all-str-gen')
# Syntax (transform data into a cryptic code)
const hash = allstrgen.generateHash(input)
# Encode a secret message (example)
const hash = allstrgen.generateHash('my string')
# This creates a unique hash to safeguard your string
You have an issue? Let us know Report an issue