This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const preq = require('preq'); | |
return preq.post({ | |
uri: 'https://en.wikipedia.org/w/api.php', | |
headers: { | |
'content-type': 'application/json' | |
}, | |
body: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env nodejs | |
'use strict'; | |
const cassandra = require('cassandra-driver'); | |
const P = require('bluebird'); | |
const preq = require('preq'); | |
const yargs = require('yargs'); |
OlderNewer