Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
A powerful library for interacting with the Herc.ai API.
We Use GPT-3.5 / GPT-4 as Artificial Intelligence Engine, And We Offer It To You For Free. Herc.ai Answers Your Question According To The Language, And It Supports All Languages.
Question API; https://hercai.onrender.com/v2/hercai?question=
Text To Image API; https://hercai.onrender.com/v2/text2image?prompt=
🔲 Installation For CLI
npm i hercai -g
📂 Installation
npm i hercai
Example Question For CommonJS;
/* Importing The Package */
const { Hercai } = require('hercai');
const client = new Hercai();
/* Available Models "v1","v2","beta" | Default Model; "v2" */
client.question({model:"v2",content:"hi, how are you?"}).then(response => {
console.log(response.reply);
/* The module will reply based on the message! */
});
Example Draw Image For CommonJS;
/* Importing The Package */
const { Hercai } = require('hercai');
const client = new Hercai();
/* Available Models "v1" , "v2" , "v2-beta" | Default Model; "v2" */
client.drawImage({model:"v2",prompt:"anime girl"}).then(response => {
console.log(response.url);
/* The module will reply based on the prompt! */
});
Example CLI Command Usage;
hercai <Your Question>
Herc.ai Also Supports TypeScript And EsModule 🥳!
Made by FiveSoBes And Luppux Development
FAQs
A powerful library for interacting with the Herc.ai API
The npm package hercai receives a total of 104,365 weekly downloads. As such, hercai popularity was classified as popular.
We found that hercai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.