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

coc-debian

v0.1.7

Published

Debian language server support for coc.nvim (control, copyright, watch, changelog, tests/control, source/format, source/options, upstream/metadata, rules)

Readme

coc-debian

A coc.nvim extension that provides Language Server Protocol support for Debian control files.

Features

  • Auto-completion for Debian control file field names
  • Package name suggestions
  • Automatic activation for debian/control files

Installation

Prerequisites

  • coc.nvim installed in Vim/Neovim
  • Node.js and npm
  • The debian-lsp server built and available

Local Installation

  1. Build the debian-lsp server first:

    cd /path/to/debian-lsp
    cargo build --release
  2. Install and build the coc extension:

    cd coc-debian
    npm install
    npm run build
  3. Install the extension in coc.nvim:

    :CocInstall file:///absolute/path/to/debian-lsp/coc-debian

    Or alternatively, create a symlink in your coc extensions directory:

    ln -s /absolute/path/to/debian-lsp/coc-debian ~/.config/coc/extensions/node_modules/coc-debian
  4. Configure the LSP server path:

    Add the following to your coc-settings.json (:CocConfig in Vim):

    {
      "debian.enable": true,
      "debian.serverPath": "/absolute/path/to/debian-lsp/target/release/debian-lsp"
    }

Verify Installation

  1. Open a Debian control file (debian/control or any file named control)
  2. Try typing field names and you should see completions
  3. Check :CocList extensions to see if coc-debian is listed and active

Configuration

Available settings in coc-settings.json:

  • debian.enable (boolean, default: true) - Enable/disable the extension
  • debian.serverPath (string, default: "debian-lsp") - Path to the debian-lsp executable

On-Type Formatting

The server supports on-type formatting for deb822-based files (auto-inserting a space after : in field names, continuation-line indentation on Enter). To enable this, add the following to your coc-settings.json (:CocConfig):

{
  "coc.preferences.formatOnType": true
}

Code Lenses

The server provides code lenses for debian/control files, showing information like the latest Standards-Version, current debhelper compat levels, and the packaged version from vcswatch. To enable code lenses, add the following to your coc-settings.json (:CocConfig):

{
  "codeLens.enable": true
}

By default, code lenses are shown above the relevant line. To show them at the end of the line instead, set:

{
  "codeLens.position": "eol"
}

Development

To work on the extension:

# Watch for changes and rebuild
npm run watch

# After making changes, restart coc
:CocRestart

Troubleshooting

  • LSP not starting: Check that the debian.serverPath points to the correct executable
  • No completions: Verify the file is named control or is in a debian/ directory
  • Extension not loading: Check :CocList extensions and look for any error messages