
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@ibaraki-douji/bing-ai
Advanced tools
#Bing AI Simple Bing AI for NodeJS
npm i @ibaraki-douji/bing-ai --save
const BingAI = require('@ibaraki-douji/bing-ai').default
const BingAI = require('@ibaraki-douji/bing-ai').default
const ai = new BingAI("_U=123456789;");
You can get the cookies from the devtools or with an exension like EditThisCookie.
The cookies needs to be formated like this : cookieName=cookieValue; cookieName2=cookieValue2;
The useful cookie name is _U
. WIthout it bing will think you are not logged in and will not give you the access.
const BingAI = require('@ibaraki-douji/bing-ai').default
const ai = new BingAI("_U=123456789;");
ai.createConversation().then((conversation) => {
// do something with the conversation
})
ai.createConversation().then((conversation) => {
conversation.sendMessage("Hello").then((response) => {
// do something with the response
})
})
const ai = new BingAI("_U=123456789;");
ai.suggest("Hello").then((suggestions) => {
// do something with the suggestions
})
To see a real exemple of the lib, check the lib/main.js file.
Discord : Ibaraki Douji#1406
FAQs
Just a way to use Bing AI in NodeJS
The npm package @ibaraki-douji/bing-ai receives a total of 0 weekly downloads. As such, @ibaraki-douji/bing-ai popularity was classified as not popular.
We found that @ibaraki-douji/bing-ai demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.