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 🙏

© 2025 – Pkg Stats / Ryan Hefner

coc-zshell

v0.0.5

Published

Zsh completion support for coc.nvim using native zsh completion system

Readme

coc-zshell

Zsh completion support for coc.nvim using the native zsh completion system.

Install

vim -c ":CocInstall coc-zshell"

What it does

This extension provides zsh autocompletion directly in your Vim/Neovim buffers when editing zsh files. It leverages the native zsh completion system, including brew completions and any custom completion paths you've configured beside builtin completions.

Custom ZDOTDIR support

This extension respects custom zsh configuration directories. If you have a custom ZDOTDIR set in your ~/.zshenv:

export ZDOTDIR="$HOME/.config/zsh"

The extension will correctly load your zsh configuration and all associated completions (tested on macOS).

Use with vi-mode in terminal

If you use vi-mode in your terminal, this extension becomes particularly powerful. Add this to your .zshrc:

export KEYTIMEOUT=1

autoload -Uz add-zsh-hook
autoload -Uz edit-command-line
zle -N edit-command-line

bindkey -v
bindkey -M vicmd 'v' edit-command-line
bindkey '^A' beginning-of-line
bindkey '^E' end-of-line

function zle-keymap-select {
    case ${KEYMAP} in
        (vicmd)      echo -ne '\e[1 q';;
        (main|viins) echo -ne '\e[5 q';;
    esac
}

zle -N zle-keymap-select

With this setup, press ESC in your terminal to enter normal mode (just like in vim), then press v to open the current command line in a vim buffer. Edit your zsh commands with full autocompletion support, save and close to execute.

Configuration

Two options are available:

  • coc-zshell.enabled (boolean, default: true) - Enable/disable the extension
  • coc-zshell.timeout (number, default: 5000) - Timeout for completion requests in milliseconds

Credits

This extension builds heavily on the excellent work from:

I've made minimal modifications to support brew completions and custom ZDOTDIR configurations.

Contributing

Contributions, issues, and feedback are warmly welcomed! This extension has primarily been tested on macOS. If you're on Linux and encounter any issues (or if it works perfectly), please let me know.

Screenshots

Demo 1 Demo 2 Demo 3 Demo 4 Demo 5

License

MIT