New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tweet-gen

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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. So

latest
npmnpm
Version
0.4.1
Version published
Weekly downloads
6
50%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 14 Jan 2023

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