display javascript import costs inside of neovim
  • Lua 77.3%
  • JavaScript 8.1%
  • Nix 7.4%
  • PowerShell 3%
  • Just 2.3%
  • Other 1.9%
Find a file
Barrett Ruth 666d4e1828
All checks were successful
quality / Format (push) Successful in 15s
quality / Lint (push) Successful in 9s
docs: add Forgejo PR template (#36)
## Problem

This public Forgejo repo already had issue templates but was missing the standard pull request template.

## Solution

Add the shared Forgejo pull request template under `.forgejo`.

Reviewed-on: #36
2026-05-03 17:05:12 +00:00
.forgejo docs: add Forgejo PR template (#36) 2026-05-03 17:05:12 +00:00
doc docs: rename help file and add *import-cost* tag (#29) 2026-04-03 13:52:32 -04:00
lua fix 2026-02-04 01:08:33 -05:00
plugin feat: lazy auto-build and modernize docs 2026-02-03 22:16:30 -05:00
scripts ci: standardize quality checks on just 2026-04-20 11:45:07 -04:00
.editorconfig feat(ci): more stuff 2026-02-03 22:05:53 -05:00
.gitignore ci: use nix 2026-02-23 18:13:09 -05:00
.luarc.json ci: scripts + format 2026-03-04 13:42:23 -05:00
.styluaignore ci: scripts + format 2026-03-04 13:42:23 -05:00
biome.json build: replace prettier with biome (#34) 2026-04-25 16:01:20 -04:00
flake.lock build(nix): use nixpkgs vimdoc-language-server (#33) 2026-04-20 17:35:34 -04:00
flake.nix build: replace prettier with biome (#34) 2026-04-25 16:01:20 -04:00
import-cost.nvim-scm-1.rockspec chore: add luarocks release workflow 2026-02-03 21:46:35 -05:00
index.js fix detecting lang 2023-01-12 09:56:53 +09:00
justfile build: replace prettier with biome (#34) 2026-04-25 16:01:20 -04:00
LICENSE chore: switch LICENSE to GPLv3 (post-remigrate) 2026-05-01 11:57:26 +00:00
README.md Update README.md 2026-02-03 23:48:21 -05:00
selene.toml ci: use nix 2026-02-23 18:13:09 -05:00
stylua.toml fix(ci): better configs 2026-02-03 22:04:02 -05:00
vim.yaml ci: scripts + format 2026-03-04 13:42:23 -05:00

import-cost.nvim

Display javascript import costs inside neovim, powered by import-cost.

preview

Installation

Install with your package manager or via luarocks:

luarocks install import-cost.nvim

Dependencies are installed automatically on first use.

Documentation

:help import-cost.nvim

Known Issues

  1. CommonJS support is flaky (limitation of the npm module)
  2. Long wait times for large packages
  3. pnpm not supported

Acknowledgements