Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tm-code/csv-importer

chrizke1MIT0.0.2TypeScript support: included

Parser library for unserializing typical TM roster files for districts

readme

@tm-code/csv-importer

Importer Library for typical Toastmasters roster files. It comes with defined model types for all three district roster files.

Usage

Install it as usual as an npm package

npm install @tm-code/csv-importer

Use one of the following async methods to import csv files:

  • importMembershipFile
  • importClubOfficersFile
  • importDistrictCouncilFile

For instance

import { importMembershipFile } from '@tm-code/csv-importer';

const allMemberships = await importMembershipFile('./file.csv')

Disclaimer

Toastmasters International and all other Toastmasters International Trademarks and copyrights are the sole property of Toastmasters International.

This software is independent of Toastmasters International. It is not authorized by, endorsed by, sponsored by, affiliated with, or otherwise approved by Toastmasters International.