wigglify
v1.0.2
Published
Generate a wigglified String you can modify in endless/multiple ways
Downloads
2
Readme
Usage
Call wigglify()
to get an "wigglified" String returned
Syntax
wigglify(options) => String
Options
You can also specify an options object with following options:
word <String> // The word that should get repeated
wordCount <Integer> // How often "word" should be repeated in one line
depth <Integer> // How often a new indented line should be added
levels <Integer> // How many levels should be added
levelerChar <String> // The character that will be used as whitespace when indenting
The standard values for the options object are:
word: "wiggle"
wordCount: 3
depth: 5
levels: 3
levelerChar: " "
Be careful:
Node's current version (v10.3.0) needs your file to have a .mjs
extension and
the --experimental-modules
flag specified when starting your script. This could
change in the future, so please check your node version and the availability of
ECMAScript Modules (ESM).
Exmaple start script:
node --experimental-modules example.mjs
Have fun!
Example:
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle
wiggle wiggle wiggle