https://github.com/artdecocode/neoluddite
Become part of Open Source anarchical movement and get payed for the value your packages create.
https://github.com/artdecocode/neoluddite
anarchy community funding neoluddite open-source peer-to-peer
Last synced: 7 months ago
JSON representation
Become part of Open Source anarchical movement and get payed for the value your packages create.
- Host: GitHub
- URL: https://github.com/artdecocode/neoluddite
- Owner: artdecocode
- License: agpl-3.0
- Created: 2019-12-28T20:16:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-28T20:20:09.000Z (almost 6 years ago)
- Last Synced: 2025-02-13T22:36:21.052Z (8 months ago)
- Topics: anarchy, community, funding, neoluddite, open-source, peer-to-peer
- Language: JavaScript
- Homepage: https://www.neoluddite.dev
- Size: 58.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# neoluddite
[](https://www.npmjs.com/package/neoluddite)
`neoluddite` is Become part of Open Source anarchical movement and get payed for the value your packages create.
```sh
yarn add neoluddite
```## Table Of Contents
- [Table Of Contents](#table-of-contents)
- [API](#api)
- [`async neoluddite(config: !Config): string`](#async-neoludditeconfig-config-string)
* [`Config`](#type-config)
- [CLI](#cli)
- [Copyright & License](#copyright--license)## API
The package is available by importing its default function:
```js
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. | - |```js
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
![]()
© Art Deco 2019