/
package.json
35 lines (35 loc) · 1.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "twitter-streamer",
"version": "0.2.0",
"engines": {
"node": ">=0.8.x"
},
"repository": {
"type": "git",
"url": "https://github.com/jamie-stackhouse/twitter-streamer.git"
},
"description": "Implement a reader for the twitter streaming API, outputs tweets via a callback function.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"Twitter",
"Stream",
"API"
],
"author": {
"name": "Jamie Stackhouse"
},
"license": "MIT",
"dependencies": {
"debug": "~0.7.2",
"async": "~0.2.9",
"oauth": "~0.9.10",
"lodash": "~1.3.1"
},
"readme": "```\nvar config = require('./config.json');\n\nvar incoming = new Incoming({\n callback_url: \"http://localhost:3000/callback\",\n consumer_key: config.consumer_key,\n consumer_secret: config.consumer_secret\n});\n\n\nvar index = incoming.open({\n access_token: config.access_token,\n access_token_secret: config.access_token_secret,\n callback: function(tweet) {\n console.log('tweet');\n },\n parameters: {\n track: config.track\n }\n});\n\nincoming.close(index);\n```",
"readmeFilename": "README.md",
"_id": "twitter-streamer@0.1.0",
"_from": "twitter-streamer@~0.1.0"
}