Automatically tweets new releases for your npm packages to your twitter account.
Set the following environment variables when running the script:
TIME_SPAN
(optional) : The number of days back to check for updates (default: 1). Packages released after this date are tweeted.PACKAGES
: A space-separated list of npm package names to be tweeted.TWEET
(optional) : The tweet template. You can use{ver}
for the package version and{pkg}
for the package name in the template. By default,Version {ver} of {pkg} released on npm https://www.npmjs.com/package/{pkg}
is used.- Twitter auth keys and secrets must be specified. Create your app keys and tokens at https://apps.twitter.com/
CONSUMER_KEY
CONSUMER_SECRET
ACCESS_TOKEN_KEY
ACCESS_TOKEN_SECRET