Skip to content
generated from mnpjs/package

Become part of Open Source anarchical movement and get payed for the value your packages create.

License

Notifications You must be signed in to change notification settings

artdecocode/neoluddite

Repository files navigation

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

About

Become part of Open Source anarchical movement and get payed for the value your packages create.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published