find-path.js 221 Bytes
Newer Older
Caleb C. Sander's avatar
Fix #1    
Caleb C. Sander committed
1
2
3
4
5
6
const https = require('https')

const [source, target] = process.argv.slice(2)
if (!(source && target)) throw new Error('Usage: node find-path.js source target')

// TODO: find the shortest path from `source` to `target`