Socket
Book a DemoInstallSign in
Socket

npm-tweets

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-tweets

Publishes tweets when libraries are updated on npm.

latest
Source
npmnpm
Version
3.1.1
Version published
Maintainers
1
Created
Source

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 (c) 2011 Benjamin Coe See LICENSE.txt for further details.

Keywords

npm

FAQs

Package last updated on 16 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts