Socket
Socket
Sign inDemoInstall

tods-json-to-wtn-csv

Package Overview
Dependencies
3
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tods-json-to-wtn-csv

convert TODS.json into TODS.csv for WTN submission


Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

TODS JSON2CSV

Converts TODS JSON objects to WTN CSV import format

Install

yarn install

Build

yarn build

Use

TODS2CSV will write all matchUps extracted from all tournaments matching target organisatoinId, or the first organisationId that is encountered

// node -r esm

import { TODS2CSV } from "./dist";

const sourceDir = "./example";
const targetDir = "./example";

TODS2CSV({
  /*
  organisationId, // optional - specify tournaments beloginging to a specific organisation
  tournamentId, // optional - restrict to a single tournament
  */
  sourceDir,
  targetDir,
});

Keywords

FAQs

Last updated on 06 Sep 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc