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

doclific

v0.3.7

Published

A powerful documentation tool for creating and managing documentation with a modern web interface.

Readme

Doclific

A powerful documentation tool for creating and managing documentation with a modern web interface.

Installation

Install Doclific globally using npm:

npm install -g doclific

Getting Started

1. Initialize a Project

Navigate to the root directory of your project and run:

doclific init

This creates a doclific directory in your current working directory where your documentation will be stored.

2. Start the Server

From the root directory of your project, run:

doclific

This starts the Doclific web server on port 6767 by default. The server will automatically open in your browser.

Custom Port

You can specify a custom port using the --p or --port flag:

doclific -p=8080
# or
doclific --port=8080

Commands

  • doclific init - Creates a doclific directory in the current working directory
  • doclific - Starts the Doclific web server (default port: 6767)
  • doclific -p=<port> - Starts the server on a custom port
  • doclific --port=<port> - Alternative syntax for custom port
  • doclific get - Returns the current configuration
  • doclific set <KEY> <value> - Sets a configuration value

Configuration Keys

You can set the following configuration keys:

  • AI_PROVIDER - AI provider to use (openai, anthropic, or google)
  • AI_MODEL - Model name to use (e.g., gpt-4, claude-3-opus-20240229, gemini-pro)
  • OPENAI_API_KEY - Your OpenAI API key
  • ANTHROPIC_API_KEY - Your Anthropic API key
  • GOOGLE_API_KEY - Your Google API key

Examples

# Get current configuration
doclific get

# Set AI provider
doclific set AI_PROVIDER openai

# Set AI model
doclific set AI_MODEL gpt-4

# Set API keys
doclific set OPENAI_API_KEY sk-your-api-key-here
doclific set ANTHROPIC_API_KEY sk-ant-your-api-key-here
doclific set GOOGLE_API_KEY your-api-key-here

Usage

After initializing and starting the server:

  1. Access the documentation interface at http://localhost:6767 (or your custom port)
  2. Create and organize your documentation files in the doclific directory
  3. Use the sidebar to navigate between documents
  4. Edit documents using the built-in editor with syntax highlighting and code snippets

Features

  • 📝 Rich markdown editor with live preview
  • 🎨 Syntax highlighting for code blocks
  • 📁 File tree navigation
  • 🔍 Codebase snippet integration
  • 🎯 Slash commands for quick formatting
  • 📱 Responsive design

Requirements

  • Node.js (v18 or higher recommended)
  • npm

License

See LICENSE file for details.