olivesalad

0.5.0 • Public • Published

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)

Package Sidebar

Install

npm i olivesalad

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

124 kB

Total Files

4

Last publish

Collaborators

  • emmyarty