0.0.0 • Published 4 years ago
neoluddite v0.0.0
neoluddite
neoluddite
is Become part of Open Source anarchical movement and get payed for the value your packages create.
yarn add neoluddite
Table Of Contents
API
The package is available by importing its default function:
import neoluddite from 'neoluddite'
async neoluddite( config: !Config,
): string
Become part of Open Source anarchical movement and get payed for the value your packages create.
- config* !Config: The config.
Config
: Options for the program.
Name | Type | Description | Default |
---|---|---|---|
shouldRun | boolean | A boolean option. | true |
text | string | A text to return. | - |
import neoluddite from 'neoluddite'
(async () => {
const res = await neoluddite({
text: 'example',
})
console.log(res)
})()
neoluddite called with example
example
CLI
The package can also be used from the CLI.
Become part of Open Source anarchical movement and get payed for the value your packages create.
neoluddite input [-o output] [-ihv]
input The path to the input file.
--output, -o Where to save the output. By default prints to stdout.
Default: -.
--init, -i Initialise in the current folder.
--help, -h Print the help information and exit.
--version, -v Show the version's number and exit.
Example:
neoluddite example.txt -o out.txt
Copyright & License
GNU Affero General Public License v3.0
0.0.0
4 years ago