@algoux/standard-ranklist-convert-to
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

standard-ranklist-convert-to

Convert from standard ranklist to other ranklist.

Converters

  • [x] GeneralExcelConverter: Convert to general excel file.
  • [x] VJudgeReplayConverter: Convert to VJudge replay xlsx. It's useful to create a replay contest on Virtual Judge.
  • [x] CodeforcesGymGhostDATConverter: Convert to Codeforces Gym Ghost file.

How to use

Import the specified converter and call convert:

import { GeneralExcelConverter } from '@algoux/standard-ranklist-convert-to';

const ranklist = ...; // your srk object

const converter = new GeneralExcelConverter();
const result = converter.convert(ranklist);

For more details, see the declaration of the converter (refer to index.d.ts).

Package Sidebar

Install

npm i @algoux/standard-ranklist-convert-to

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

14.2 kB

Total Files

12

Last publish

Collaborators

  • dreamerblue