0.4.1 • Published 1 year ago

tweet-gen v0.4.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

tweet-gen

With the help of a provided tweet description and tone, you can quickly create tweets using this "Tweet Generator" library. Users can provide a tweet description and tone (such as positive, negative, or neutral) to have a tweet generated automatically. Social media managers, marketers, and anybody else wishing to quickly create tweets for personal or business usage can all benefit from this library.

Installation

You can install tweet-gen by doing npm install tweet-gen or yarn add tweet-gen.

Params

Tweet-gen allows you to create simple tweets from

  • a description, and
  • a tone.
ParameterTypeInformation
descriptionStringDescribe what you want the tweet to be about
toneStringSpecify the attitude or feeling of the tweet.

Example

const { Writebot } = require('writebot');
const TweetGen = require('tweet-gen');

Writebot.initialize({
  apiKey: API_KEY,
});

Writebot.write(TweetGen, {
  description: 'A tweet about AIs',
  tone: 'Surprised'
}).then((e: any) => console.log(e.data.choices[0].text));
Wow! Artificial Intelligence is getting smarter by the second - I can't believe how far we've come! #AI #Technology
0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago