New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

globalsprak

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globalsprak - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

README.md

10

index.js

@@ -542,5 +542,10 @@ const axios = require('axios');

async function gen2(prompt, count) {
async function ai(prompt, model) {
try {
const response = await axios.get(`${API}/v1/generate?prompt=${encodeURIComponent(prompt)}&count=${count}`);
const response = await axios.get(`${API}/v1/chat/completions`, {
params: {
prompt: encodeURIComponent(prompt),
model: model
}
});
return response.data;

@@ -605,2 +610,3 @@ } catch (error) {

pixelart,
ai,
};

13

package.json
{
"name": "globalsprak",
"version": "1.0.4",
"version": "1.0.5",
"description": "globalsprak is a Node.js package that provides access to various AI models, image generation, content downloading from various platforms, and more.",

@@ -10,3 +10,3 @@ "main": "index.js",

"keywords": [
"globalsprak",
"restapi",
"gpt",

@@ -41,3 +41,10 @@ "prodia",

"prodia",
"flux"
"flux",
"claude",
"gen",
"manga",
"tempmail",
"weather",
"lyrics",
"download"
],

@@ -44,0 +51,0 @@ "author": "Aryan Chauhan",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc