neoluddite

0.0.0 • Public • Published

neoluddite

npm version

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: 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.

Argument Short Description
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.
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

artdecocode © Art Deco 2019

Package Sidebar

Install

npm i neoluddite

Weekly Downloads

0

Version

0.0.0

License

AGPL-3.0

Unpacked Size

53.6 kB

Total Files

24

Last publish

Collaborators

  • zvr