Created
March 22, 2017 11:14
-
-
Save Aminadav/9e1872d73c054260c32823ba4654ee1d to your computer and use it in GitHub Desktop.
This file contains 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
var fs=require('fs') | |
var raw=fs.readFileSync(process.argv.pop()).toString() | |
// Remove first line | |
raw=raw.split('\n') | |
raw.shift() | |
raw=raw.join('\n') | |
tweets=JSON.parse(raw) | |
for(var i in tweets) { | |
console.log(tweets[i].text) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using from command line: