Xytro.js npm package
Koushik Roy

Koushik Roy @iscordian

About: I'm Koushik Roy. An front-end JavaScript developer.

Location:
India
Joined:
Oct 9, 2024

Xytro.js npm package

Publish Date: Oct 9 '24
0 1

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

Comments 1 total

  • Mitch Chimwemwe Chanza
    Mitch Chimwemwe ChanzaOct 11, 2024

    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
Add comment