stdlib-js/Send Tweets from Metadata
Trigger the sending of tweets from a metadata object array.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| metadata | Metadata object array. | yes | — |
| types | Comma-separated list of meatadata types to generate tweets for. | — | bugfix, feature, release |
| rules | A file path to a JSON file containing the rules for generating tweets in the form of an object with regular expression strings and corresponding replacement strings for each type. | — | ./rules.json |
| authors | A file path to a JSON file containing a mapping from GitHub user names to Twitter handles. | — | ./authors.json |
| TWITTER_CONSUMER_KEY | A valid Twitter consumer key. | yes | — |
| TWITTER_CONSUMER_SECRET | A valid Twitter consumer secret. | yes | — |
| TWITTER_ACCESS_TOKEN | A valid Twitter access token. | yes | — |
| TWITTER_ACCESS_TOKEN_SECRET | A valid Twitter access token secret. | yes | — |
Outputs
no outputs