DEV Community

Koushik Roy
Koushik Roy

Posted on

Xytro.js npm package

Welcome to Xytro.js, your go-to multipurpose npm package designed to simplify development tasks. Current version: 0.0.2-beta

It's has:

  • NextChat: Effortlessly interact with a range of AI models without requiring an API key.

  • Search: Search on platforms like YouTube and Spotify.

  • NsfwFilter: Accurately detect NSFW content from images.

_ Readline: Develop interactive CLI tools with ease.

  • Rectify: Build web applications with an optimized, Express.js-like framework.

Link: https://npmjs.com/package/xytro.js
Install: npm i xytro.js

Top comments (1)

Collapse
 
mitch1009 profile image
Mitch Chimwemwe Chanza

Running your nextchat app results in this error.


Error: Invalid model provided. Please use one of the following: gemini, gpt, gpt4, bard, llama, codellama, mixtral
    at nextchat.ask (/Users/korena/work/xtra/node_modules/.pnpm/xytro.js@0.0.2-beta/node_modules/xytro.js/lib/cjs/nextchat.js:54:13)
    at /Users/korena/work/xtra/name.js:8:33
    at Object.<anonymous> (/Users/korena/work/xtra/name.js:10:3)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49
Enter fullscreen mode Exit fullscreen mode