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

the-cisco

v1.0.2

Published

AI pair programming in your terminal

Readme

cisco

AI pair programming in your terminal

npm i -g the-cisco

Warning: Experimental and early stages of development.

I recommend using it in new folders with no sensitive files for now.

https://github.com/user-attachments/assets/dda019ca-86c9-4fd5-820c-30e3aed86d2b

Usage (CLI)

cisco [options]

Options:
  -V, --version     output the version number
  -c, --cwd <path>  the path to the working directory (default: ".")
  -q, --quiet       stay silent (default: false)
  --verbose         print logs (default: false)
  -h, --help        display help for command

Use the /add [filename] or /drop [filename] commands to handle files in the context.

E.g. You have an existing project, then you might need to add files to the context.

Settings

Use the file ~/.env for global configuration.

Otherwise, use a .env file relative to where you run the commands.

If you use OpenAI API:

OPENAI_API_KEY = "sk-proj-abc123"

Your own API:

CISCO_URL = "https://openrouter.ai/api/v1"
CISCO_KEY = "sk-or-v1-abc123"
CISCO_MODEL = "deepseek/deepseek-chat"

Usage (Module)

const { execFileSync } = require('child_process')
const Cisco = require('the-cisco')

const cisco = new Cisco()

// This can be from user input, request, etcetera
const message = 'Create a Node.js script named temp.js that prints \
                the temperature of Argentina, Buenos Aires \
                without using libraries or requiring an API key. \
                Use a free API like open-meteo.com'

await cisco.receive(message)

// File created! You will have a ./temp.js file that you can run!
console.log(node('./temp.js'))

await cisco.receive('Change it to print the temperature of \
                    Santa Fe instead of Buenos Aires, \
                    update the log also.')

// File updated!
console.log(node('./temp.js'))

function node (filename) {
  return execFileSync(process.execPath, [filename], { encoding: 'utf8' })
}

API

cisco = new Cisco([options])

Create a new Cisco instance.

Options:

{
  url: process.env.CISCO_URL,
  key: process.env.CISCO_KEY || process.env.OPENAI_API_KEY,
  cwd: '.',
  interactive: false,
  quiet: true,
  verbose: false
}

await cisco.receive(message)

Completes the request of the message.

It will create or edit files automatically.

cisco.cancel()

Signal to cancel the current stream of the answer.

Can be used several times.

await cisco.commands.add(filename)

Add a new file for editing and context.

await cisco.commands.drop(filename)

Remove a file from the context.

cisco.files

List of current files in the context.

cisco.chat

History of messages.

Currently, it's stateless. E.g. Closing the terminal resets the chat.

Notes

There are more methods but I'm limiting the documentation.

API is not stable due very early stages of development.

License

MIT