UNPKG

1.05 kBMarkdownView Raw
1# non-lethal plug.dj reverse engineering
2
3A messy script that spews as-readable-as-computerly-possible versions of plug.dj
4modules into a directory.
5
6## usage
7
8The easiest way to use replug is with [npx](https://npmjs.com/package/npx):
9
101. `npx replug`
11
12Alternatively, install the CLI globally (you'll have to update manually from time to time):
13
141. `npm install -g replug`
151. `replug`
16
17Or run it from source:
18
191. `git clone https://github.com/ExtPlug/replug.git`
201. `cd replug`
211. `npm install`
221. `./index.js`
23
24There are some command-line options:
25
26 -h, --help output usage information
27 -V, --version output the version number
28 -m, --mapping [file] File containing the mapping JSON (optional, it's auto-generated if no file is given)
29 -o, --out [dir] Output directory [out/]
30 -v, --verbose Use verbose output instead of bullet list
31
32### examples
33
34Dump output in `out/`:
35
36```
37npx replug
38```
39
40Output in `output-directory/`:
41
42```
43npx replug --out output-directory
44```
45
46## Licence
47
48[MIT](./LICENSE)