exercism-config-to-csv

0.1.0 • Public • Published

Exercism Config to CSV

Transform current config.json from an Exercism track into a CSV file.

Usage (CLI)

npm install -g exercism-config-to-csv
exercism-config-to-csv go > go-track.csv

Usage (module)

You can use this as a module:

let toCSV = require('exercism-config-to-csv');
 
// pass in config.json as object (psuedo-fetch)
let config = fetch('https://raw.githubusercontent.com/exercism/go/master/config.json');
let csvString = toCSV(config);
// "Slug","Difficulty","Unlocked By","UUID","Topics"
// "hello-world","1","","19957346-dedf-441e-85ea-656cac0d96d8","Strings"
// "leap","1","","fee57b09-2b67-4483-a2e5-3dfec0568b15","Control-flow (conditionals), Booleans, Integers, Logic"
// ...

Readme

Keywords

none

Package Sidebar

Install

npm i exercism-config-to-csv

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • tleen