2.0.0 • Published 3 years ago

spigot-anti-piracy-csv-exporter v2.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

spigot-anti-piracy-csv-exporter

Run a security audit Linting

Dependency Status devDependency Status Code Climate Known Vulnerabilities

Commitizen friendly Dependabot Status License npm

A helper utility to generate a csv export for the spigot-anti-piracy-backend

Description

The helper application reduces the logfile of spigot-anti-piracy-backend to a CSV with unique user IDs and a count of different ips in order to determine which user could have leaked the resources.

Installation

This has been tested with Node.js v12 and v14 LTS.

Normal Installation

$ npm install -g spigot-anti-piracy-csv-exporter

(Optionally without the global flag)

Development Installation

$ git clone https://github.com/timbru31/spigot-anti-piracy-csv-exporter.git
$ cd spigot-anti-piracy-csv-exporter
$ npm install

Usage

You need to specify thr path for the logfile. It defaults to request.log in the current directory if omitted.

Just use

$ npm run start

Configuration via environment variables

Environment VariableDefaultDescription
CSV_FILE./users.csvOutput CSV file
LOG_FILE./request.logLog file of requests

Development

To run the linter use

$ npm run lint

The code is linted using TSLint. Keep the warnings to zero. :smile:

Please follow the commitizen style when making new commits!


Built by (c) Tim Brust and contributors. Released under the MIT license.

2.0.0

3 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago