npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ninebit/ciq

v1.0.6

Published

JavaScript SDK for NineBit CIQ

Downloads

10

Readme

Node TypeScript SDK for RAG (Retrieval Augmented Generation)

npm downloads build license typescript prettier husky

🔗 @ninebit/ciq

Official Node.js SDK for interacting with NineBit CIQ — a Retrieval-Augmented Generation (RAG) workflow orchestration platform for secure, private, rapid prototyping of AI/ML ideas using enterprise data and open-source models.

Join the community:

Join us on Slack

🚀 Features

  • Retrieval-Augmented Generation (RAG) Perform semantic search and intelligent query answering using hybrid retrieval techniques.
  • Flexible Query Interface Send queries with configurable similarity thresholds and top_k result tuning.
  • Callback Support for Asynchronous Workflows Pass in callbacks to handle results or errors once workflows complete — ideal for event-driven applications.
  • Workflow Polling with Timeout Control Monitor long-running workflows with built-in polling, status checking, and customizable timeouts.
  • Simple, Extensible API Clean, Pythonic interfaces with support for both synchronous returns and optional callbacks.
  • Error-Handled Execution Flow Graceful handling of task failures, timeouts, and unexpected states with descriptive exceptions.
  • Logging Support Integrated logging for easy debugging and transparency during polling or querying.

📦 Installation

npm install @ninebit/ciq

🔧 Quickstart (Node.js)

//  Use import for ESM
import { CIQClient } from '@ninebit/ciq';

//  Use require() for CommonJS
const { CIQClient } = require('@ninebit/ciq');

const apiKey = process.env.API_KEY || '';
const client = new CIQClient(apiKey);

async function runExample() {
  try {
    await client.ingestFile('files/eco101.pdf');
    const query = 'Your Query String?';
    const response = await client.ragQuery(query);
    console.log('Query response is ', response);
  } catch (error) {
    console.error('Error in CIQ:', error);
  }
}

runExample();

🔐 Authentication - You’ll Need an API Key

If you’re using the Freemium CIQ setup, you’ll just need to register at our web app and grab your API key. It’s quick, and no credit card is required.

You can sign up here NineBit CIQ

🧪 Running Tests

npm run test
npm run test:coverage

🛠 Developer Setup

If you're contributing to this SDK, see DEVELOPER.md for full setup, linting, formatting, and test instructions.

📄 API Reference

| Method | Description | | ------------------------ | ------------------------------------------------------------------------------- | | ingestFile(file_path) | Reads and uploads a PDF or DOCX file to the backend for processing. | | ragQuery(query_string) | Performs a Retrieval-Augmented Generation (RAG) query using the provided input. |

⚙️ Configuration

| Option | Type | Required | Description | | --------- | ------ | -------- | ----------------------------------- | | apiKey | string | ✅ | Your CIQ API Key | | baseUrl | string | ❌ | Optional (default: CIQ backend URL) |

📄 License

MIT

🤝 Contributing

Pull requests are welcome! Please check DEVELOPER.md and ensure:

  • Tests pass
  • Lint/format clean
  • Coverage is not broken

📬 Questions?

Email us at [email protected] or visit NineBit Computing

© NineBit Computing, 2025