0.5.0 • Published 2 years ago

olivesalad v0.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Olive Oil

Logo

Easily generate 'word salads' from whatever input strings or numbers you throw in using crypto-js, minimist, and bip39.


CLI Usage

olivesalad --build 898572

Expected output:

between-brand

CLI Optional Parameter: Change Separator

olivesalad --build 898572 --sep " "

Expected output:

between brand

CLI Optional Parameter: Change Wordcount

olivesalad --build 898572 --len 1

Expected output:

between

Usage As Library

If you're using this as a module within a JS project, pass the input string as the first argument and the optional sep and len arguments as the properties of an object as the second parameter. The returned value will be a string.

import olivesalad from 'olivesalad'
const output = olivesalad("exampleInputString", { len: 4, sep: "_" })

console.log(output)
0.5.0

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago