tods-json-to-wtn-csv

1.1.1 • Public • Published

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,
});

/tods-json-to-wtn-csv/

    Package Sidebar

    Install

    npm i tods-json-to-wtn-csv

    Weekly Downloads

    1

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    75.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • courthive