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-oxc

v0.4.0

Published

Oxc extension for coc.nvim

Readme

coc-oxc

Oxc extension for coc.nvim

Install

:CocInstall coc-oxc

Features

  • oxlint: Fast linter with auto-fix support
  • oxfmt: Fast formatter with format-on-save support

Note: This plugin only uses oxlint and oxfmt installed in the respective project; it does not activate globally.

Vite+

If vite-plus is installed in the workspace root, the plugin runs vp lint --lsp and vp fmt --lsp from it. If vite-plus is not installed, it falls back to node_modules/.bin. An explicit binPath takes priority.

Configurations

Oxlint (Linter)

  • oxc.oxlint.enable: Enable oxlint language server (default: true)
  • oxc.oxlint.run: Run the linter on save onSave or on type onType (default: onType)
  • oxc.oxlint.configPath: Path to oxlint configuration (default: null, searches for .oxlintrc.json)
  • oxc.oxlint.binPath: Path to the oxlint binary (default: searches in node_modules/.bin)
  • oxc.oxlint.codeActionsOnSave: Code action kinds to apply on save, e.g. ["source.fixAll.oxc"] (default: [], disabled)

Oxfmt (Formatter)

  • oxc.oxfmt.enable: Enable oxfmt formatting (default: true)
  • oxc.oxfmt.binPath: Path to the oxfmt binary (default: searches in node_modules/.bin)
  • oxc.oxfmt.formatterPriority: Priority used when multiple formatters are registered for a language. Only positive values boost; the default 1 outranks formatters that do not set a priority. To defer for a given language, use coc.preferences.formatterExtension instead (default: 1)

Format on Save

To enable format on save, add this to your coc-config (:CocConfig):

{
  "oxc.oxfmt.enable": true,
  "coc.preferences.formatterExtension": "coc-oxc"
}

coc.preferences.formatterExtension tells coc.nvim to use coc-oxc whenever it is available, which avoids conflicts with other extensions that also register an LSP formatter (e.g. coc-biome, coc-tsserver, coc-prettier). You can scope it per-language if you want a different formatter for some files:

{
  "[json]": { "coc.preferences.formatterExtension": "coc-prettier" }
}

oxfmt also registers itself with oxc.oxfmt.formatterPriority 1 by default, which outranks any extension that does not set a priority.

You can also format manually with :call CocAction('format')

Fix on Save

To apply oxlint's auto-fixes on save, add this to your coc-config (:CocConfig):

{
  "oxc.oxlint.codeActionsOnSave": ["source.fixAll.oxc"]
}

Commands

Oxlint Commands

  • oxlint.restartServer: Restart oxlint Server
  • oxlint.showOutputChannel: Show oxlint Output Channel

Oxfmt Commands

  • oxfmt.restartServer: Restart oxfmt Server
  • oxfmt.showOutputChannel: Show oxfmt Output Channel

License

MIT


This extension is built with create-coc-extension

Sponsored By