Skip to content

Instantly share code, notes, and snippets.

View jsdario's full-sized avatar

Jesús Darío jsdario

View GitHub Profile
@jsdario
jsdario / index.js
Created September 11, 2018 11:05
IndianredVibrantChapters created by jsdario - https://repl.it/@jsdario/IndianredVibrantChapters
const fetch = require('node-fetch')
fetch('https://api.github.com/repos/netbeast/dashboard/git/trees/master?recursive=1')
.then(r => r.json())
.then(data => {
const h = turnGitHubTreeIntoD3Hierarchy(data)
console.log(h)
})
.catch(console.error)