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

@oflow-ai/core

v0.2.8

Published

Core library for oFlow CLI - AI providers, tools, and utilities

Readme

@oflow-ai/core

Core library for oFlow CLI. Provides AI providers, tools, and utilities.

Installation

npm install @oflow-ai/core

Features

  • Multi-provider AI support: OpenAI, DeepSeek, Qwen, GLM, Baichuan, Yi, Moonshot, SiliconFlow
  • Tool system: File operations, shell commands, web search, and more
  • Conversation management: Message history and context handling
  • MCP integration: Model Context Protocol server support
  • Skill system: Extensible skill packages
  • Sub-agents: Specialized agents for different tasks
  • Sandbox execution: Docker/Podman isolation

Usage

import { createAIProvider, Conversation, getConfigManager } from '@oflow-ai/core';

// Configure authentication
const configManager = getConfigManager();
configManager.setAuth({
  provider: 'deepseek',
  apiKey: 'your-api-key',
  model: 'deepseek-chat'
});

// Create AI provider
const provider = createAIProvider(configManager.getAuth()!);

// Start conversation
const conversation = new Conversation({
  provider,
  workingDirectory: process.cwd(),
  onContent: (content) => console.log(content)
});

await conversation.sendMessage('Hello!');

Supported Providers

| Provider | Auth Type | Models | |----------|-----------|--------| | openai | API Key | gpt-4o, gpt-4-turbo, o1-preview, etc. | | deepseek | API Key | deepseek-chat, deepseek-reasoner | | qwen | API Key | qwen-turbo, qwen-plus, qwen-max | | zhipu | API Key | glm-5, glm-4.7, glm-4.6, glm-4.5 | | baichuan | API Key | Baichuan4, Baichuan3-Turbo | | yi | API Key | yi-lightning, yi-large | | moonshot | API Key | moonshot-v1-8k, moonshot-v1-32k | | siliconflow | API Key | Multiple open-source models | | custom | API Key + Base URL | Any OpenAI-compatible API |

Tools

Available tools:

  • read_file - Read file contents
  • write_file - Write to files
  • list_directory - List directory contents
  • glob - Find files by pattern
  • search_file_content - Search within files
  • run_shell_command - Execute shell commands
  • web_search - Search the web
  • web_fetch - Fetch web content
  • replace - Replace text in files
  • image_read - Analyze images
  • pdf_extract - Extract PDF content
  • ask_user_question - Interactive user prompts
  • task - Launch sub-agents
  • save_memory - Store long-term memories

License

MIT