Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including exercism-config-tree with all npm packages installed. Try it out:

var exercismConfigTree = require("exercism-config-tree")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

exercism-config-tree v0.0.1

Output exercism configuration as a (text) tree.

exercism-config-tree

Output Exercism config file as a text tree.

GET https://raw.githubusercontent.com/exercism/lua/master/config.json | exercism-config-tree
core
----
├── hello-world [1]
|
├── hamming [2]
|   ├── nucleotide-count [3]
|   ├── rna-transcription [3]
|   ├── protein-translation [3]
|   └── scrabble-score [3]
|
├── house [3]
|   ├── beer-song [3]
|   └── food-chain [3]
|
├── difference-of-squares [2]
|   ├── sum-of-multiples [2]
|   ├── perfect-numbers [3]
|   ├── pythagorean-triplet [3]
|   ├── triangle [3]
|   └── largest-series-product [5]
...

bonus
-----
...

...

Install

> npm install -g exercism-config-tree

Then you can run it as

> exercism-config-tree < <path-to-your/>config.json

It takes an Exercism track config file and transforms it into a tree of the core exercises + unlocks, and another tree for the bonus exercises (unlocked after the initial exercise).

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free