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

@sylix/coworker

v1.5.0

Published

CoWorker by Sylix - AI-powered CLI coding assistant

Readme

CoWorker by Sylix

A powerful AI-powered CLI coding assistant that runs in your terminal.

CoWorker Banner

Features

  • Ask: Query your codebase with natural language questions
  • Explain: Get clear explanations of any file's purpose and structure
  • Edit: AI-assisted file editing with diff preview and confirmation
  • Run: Execute tasks with intelligent command suggestions
  • Config: Easy configuration management for your Sylix API credentials

Installation

Prerequisites

  • Node.js 18 or higher
  • npm or yarn
  • Sylix API access

Install Dependencies

cd coworker
npm install

Build

npm run build

Global Installation (Optional)

To use coworker command anywhere:

npm link

Configuration

Before using CoWorker, configure your Sylix API credentials:

coworker config init

You'll be prompted for:

  • Base URL: Your Sylix API endpoint (default: https://api.sylix.ai)
  • API Key: Your Sylix API key
  • Default Model: Model to use (default: sylix-4)

To view your current configuration:

coworker config show

Usage

Ask a Question

Ask questions about your codebase with context awareness:

coworker ask "What does the authentication module do?"
coworker ask "How can I optimize the database queries in this project?"

Explain a File

Get detailed explanations of any file:

coworker explain src/api/sylix.ts
coworker explain package.json

Edit a File

AI-assisted editing with diff preview:

coworker edit src/utils/helper.ts "Add input validation to the parseConfig function"
coworker edit app.js "Convert the callback-based function to use async/await"

Run a Task

Execute tasks with command suggestions:

coworker run "Set up a new React component library"
coworker run "Run all tests and show me the results"

The assistant will suggest commands and ask for confirmation before executing them.

Project Structure

coworker/
├── src/
│   ├── cli.ts              # Main CLI entry point
│   ├── api/
│   │   └── sylix.ts        # Sylix API client
│   ├── context/
│   │   └── reader.ts       # Context reader for codebase
│   ├── commands/
│   │   ├── ask.ts          # Ask command implementation
│   │   ├── edit.ts         # Edit command implementation
│   │   ├── explain.ts      # Explain command implementation
│   │   ├── run.ts          # Run command implementation
│   │   └── config.ts       # Config commands
│   └── utils/
│       └── output.ts       # Output formatting utilities
├── package.json
├── tsconfig.json
└── README.md

API Configuration

The configuration is stored at ~/.coworker/config.json:

{
  "baseUrl": "https://api.sylix.ai",
  "apiKey": "your-api-key",
  "defaultModel": "sylix-4"
}

Development

Run in Development Mode

npm run dev -- ask "What does this project do?"

Build

npm run build

Output Formatting

CoWorker provides beautifully formatted terminal output:

  • Cyan - Branding and headers
  • Green - Success messages
  • Red - Errors
  • Yellow - Warnings
  • Code blocks - Syntax highlighted with line numbers
  • Spinners - Loading indicators for async operations

Security

  • API keys are stored locally in ~/.coworker/config.json
  • Never commit your config file to version control
  • The config file path respects your home directory across platforms

License

MIT License - Copyright (c) Sylix

Support

For issues and feature requests, please visit the GitHub repository.


CoWorker by Sylix - Your AI pair programmer in the terminal.