Publishes tweets when libraries are updated on NPM.
JavaScript Makefile
Latest commit d843380 May 16, 2015 @bcoe Merge pull request #19 from bcoe/search-patch
patch that talks to skimdb rather than registry
Permalink
Failed to load latest commit information.
bin don't load dotenv May 15, 2015
lib had tweets turned off May 15, 2015
test Replace npmjs.org by npmjs.com in tweet URL Mar 15, 2015
.env.default pulling cache in to its own class. Sep 30, 2013
.gitignore updating npm-tweets to work with new twitter and npmjs.org APIs. Jul 3, 2013
LICENSE.txt Updated documentation. Sep 17, 2011
Makefile moved tests over to mocha. Sep 30, 2013
Procfile updating npm-tweets to work with new twitter and npmjs.org APIs. Jul 3, 2013
README.markdown
package.json don't load dotenv May 15, 2015

README.markdown

npm-tweets

I published a library recently that didn't get nearly as many followers as expected.

A person of lesser hubris might have assumed that the library was was less useful than they initially assumed. Luckily I didn't make this false assumption...

The problem was that there aren't enough tweets when Node.js packages are published or updated

npm-tweets is an open-source twitter bot that tweets as packages are updated on npmjs.org:

http://twitter.com/#!/nodenpm

Usage

I've open-sourced npm-tweets so that anyone can easily setup an npm Twitter Bot.

Creating the Bot:

var NPMTweets = require('npm-tweets').NPMTweets;

npmTweets = new NPMTweets({
    consumer_key: 'CONSUMER_KEY',
    consumer_secret: 'CONSUMER_SECRET',
    access_token_key: 'TOKEN_KEY',
    access_token_secret: 'TOKEN_SECRET',
    filter: function(package){ return package.name === 'npm-tweets'; }
});

Copyright

Copyright (c) 2011 Benjamin Coe See LICENSE.txt for further details.