Skip to content

Automatically tweets new releases for your npm packages to your twitter account

Notifications You must be signed in to change notification settings

cytoscape/cytoscape.js-npm-autotweet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-autotweet

Automatically tweets new releases for your npm packages to your twitter account.

Usage

Set the following environment variables when running the script:

  1. TIME_SPAN (optional) : The number of days back to check for updates (default: 1). Packages released after this date are tweeted.
  2. PACKAGES : A space-separated list of npm package names to be tweeted.
  3. 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.
  4. Twitter auth keys and secrets must be specified. Create your app keys and tokens at https://apps.twitter.com/
    1. CONSUMER_KEY
    2. CONSUMER_SECRET
    3. ACCESS_TOKEN_KEY
    4. ACCESS_TOKEN_SECRET

About

Automatically tweets new releases for your npm packages to your twitter account

Resources

Stars

Watchers

Forks

Packages

No packages published