0.1.2 • Published 2 years ago

excellent-choice v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🏆 excellent-choice

Excel-based multiple-choice testing

npm Code Climate maintainability npms.io (quality) Snyk Vulnerabilities for npm package npm bundle size

  • 💪 TypeScript. Fully typed and self-documenting!

🚀 Quick Start

Install

# npm
npm i excellent-choice

# or yarn
yarn add excellent-choice

Import

// ESM / TypeScript
import { parse, parseFile } from "excellent-choice";

// or CommonJS
const { parse, parseFile } = require("excellent-choice");

Example Usage

// Parse an ArrayBuffer (.xlsx file data)
const tests = parse(...); 
// => An object of test name => test questions

Alternatively, you can use parseFile to automate the file reading process:

// Parse an .xlsx file
const tests = parseFile('your-file.xlsx');
// => An object of test name => test questions

⚖ License

excellent-choice is licensed under the MIT License.

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago