
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
nayan-apis-server
Advanced tools
> npm i nayan-api-server
• gpt
• spotify
• img2text
• pintarest
• textpro
• photoxy
• ephoto
• ip2lucation
• removebg
• upscale
• tokencookie (fb)
• fbinfo
• GDLink
• google web search
• text to voice
• faceswap
• bdnews
const { gpt } = require("nayan-api-server");
gpt({
messages: [
{
role: "assistant",
content: "Hello! How are you today?"
},
{
role: "user",
content: "Hello, my name is Nayan."//your name
},
{
role: "assitant",
content: "Hello, Nayan! How are you today?"
}
],
prompt: "Can you repeat my name?",
model: "GPT-4",
markdown: false
}, (err, data) => {
if(err != null){
console.log(err);
} else {
console.log(data);
}
});
const { spotify } = require("nayan-api-server");
const name = "ghum" //song name
spotify(name).then(data => {
console.log(data)
});
const { pintarest } = require("nayan-api-server");
const search = "Neymar pic"
pintarest(search).then(data => {
console.log(data)
});
const { img2text } = require("nayan-api-server");
img2text("https://i.imgur.com/2TTyRTo.jpeg").then(data => {
console.log(data)
});
const {photoxy} = require("nayan-api-server");
const url = "url" // photoxy url
const text = "nayan" // your text
photoxy(url, [text])
.then((data) => console.log(data))
.catch((err) => console.log(err));
const {photoxy} = require("nayan-api-server");
const url = "url" // photoxy 2 text input url
const text = "Mohammad" // your text
const text2 = "nayan" // your text
photoxy(url, [text, text2])
.then((data) => console.log(data))
.catch((err) => console.log(err));
const {textpro} = require("nayan-api-server");
const url = "url" // textpro url
const text = "nayan" // your text
textpro(url, [text])
.then((data) => console.log(data))
.catch((err) => console.log(err));
const {textpro} = require("nayan-api-server");
const url = "url" // textpro 2 text input url
const text = "Mohammad"//your text
const text2 = "nayan"// your text
textpro(url, [text, text2])
.then((data) => console.log(data))
.catch((err) => console.log(err))
const {ephoto} = require("nayan-api-server");
const url = "url" // ephoto url
const text = "nayan" // your text
ephoto(url, [text])
.then((data) => console.log(data))
.catch((err) => console.log(err));
const {ephoto} = require("nayan-api-server");
const url = "url" // ephoto 2 text input url
const text = "Mohammad"//your text
const text2 = "nayan"// your text
ephoto(url, [text, text2])
.then((data) => console.log(data))
.catch((err) => console.log(err))
const { ip } = require("nayan-api-server");
const address = "ip" //ip address
ip(address).then(data => {
console.log(data)
});
const { removebg } = require("nayan-api-server");
const url = "url" //pic url
removebg(url).then(data => {
console.log(data)
});
const { upscale } = require("nayan-api-server");
const link = "link" //past pic link
const model = "1"// model 1 or 2
upscale(link, model).then(data => {
console.log(data)
});
const { tokencookie } = require("nayan-api-server");
const user = "username" // your fb username
const pass = "password" // your fb password
tokencookie(user, pass).then(data => {
console.log(data)
});
const { fbinfo } = require("nayan-api-server");
const token = "token" // your fb access token
const uid = "uid" // fb user uid
fbinfo(token, uid).then(data => {
console.log(data)
});
const {GDLink} = require("nayan-api-server");
const url = 'url' // Public Google Drive Url
GDLink(url).then(data => {
console.log(data)
});
const { gwsearch } = require("nayan-api-server");
const name = "nayan-api-server" // Name of the website
const limit = "5" // limit of results (total limit 1-20)
gwsearch(name, limit).then(data => {
console.log(data)
});
const { imagine } = require("nayan-api-server");
const promt = "cat, 4k" // your promt
imagine(promt).then(data => {
console.log(data)
});
Name
Male: Bashkar, Pradeep
Female: Nabanita, Tanisha
const { text2voice } = require('nayan-api-server')
const text = 'আমার নাম নয়ন';
const name = 'Tanisha';
const file = "nayan.mp3"
text2voice(text, name, file).then(data => {
console.log(data)
})
const { faceswap } = require("nayan-api-server");
const sourceUrl = "link" //past source pic link
const targetUrl = "link"// past target pic link
faceswap(sourceUrl, targetUrl).then(data => {
console.log(data)
});
const { bdnews } = require('nayan-api-server');
async function main() {
try {
const news = await bdnews();
console.log(news);
} catch (error) {
console.error("Error fetching news news:", error);
}
}
main();
CONTACT ME🐱
FAQs
Simple create api(Mohammad Nayan)
The npm package nayan-apis-server receives a total of 369 weekly downloads. As such, nayan-apis-server popularity was classified as not popular.
We found that nayan-apis-server 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.