Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spigot-anti-piracy-csv-exporter

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spigot-anti-piracy-csv-exporter

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

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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.

Keywords

FAQs

Package last updated on 23 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc