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

assembly-yasm-helper

v2.0.0

Published

Language support and smart autocomplete for YASM/NASM Assembler

Readme

Assembly YASM Helper

Advanced language support for YASM / NASM Assembly in Visual Studio Code.


🚀 Features

Intelligent Autocomplete

Context-aware suggestions based on cursor position:

  • Data sections — suggests db, dw, dd, dq, resb, resw, resd, resq after the variable name
  • Text sections — suggests instructions, registers, variables, and pointer sizes (byte, word, dword, qword…)
  • Memory brackets [...] — suggests registers, variables, and + / * operators in the correct order
  • Root level — suggests section .text/data/bss, global, extern only at line start
  • Preprocessor — typing % suggests all YASM directives (%include, %macro, %define, %if, %rep…)

🧭 Navigation

  • Go to Definition (F12) — jump to any label, variable, or procedure declaration
  • Find All References (Shift+F12) — find every usage of a label, variable, or procedure
  • Rename Symbol (F2) — rename a label, variable, or procedure across the entire file
  • Document Symbol Outline — labels, variables, and procedures listed in the Outline panel and breadcrumb
  • Signature Help — shows operand hints while typing (e.g. mov <dst>, <src>), active parameter highlighted
  • Code Folding — fold procedures (proc/endp), macros (%macro/%endmacro), and %if blocks

🎨 Syntax Highlighting

Instructions, registers (GP / SSE / AVX / AVX-512), labels, variables, directives, numbers, operators, and preprocessor directives are all distinctly colored. Numbers support 0x1F, 1Fh, and 1010b formats.

Three built-in themes: Assembly Dark, Assembly Light, Assembly High Contrast.

🔍 Hover Information

Hover over instructions, registers, variables, or numbers for details. Numbers show automatic decimal / hex / binary conversions.

🔴 Code Diagnostics

Real-time static analysis detects:

  • Duplicate labels and jumps to undefined labels
  • Unclosed blocks (proc/endp, %macro/%endmacro, %if/%endif)
  • Operand errors — missing operands, invalid types, size mismatches

⚙ Compiler Integration (Optional)

Compile on save using YASM or NASM. Errors appear inline in VS Code and in the status bar (✓ ok / ✗ N error(s) / ⚠ compiler not found).


⚙ Configuration

| Setting | Default | Description | |---------|---------|-------------| | assembly.enableCompilerCheck | true | Enable compiler check on save | | assembly.compilerPath | auto | Path to compiler executable | | assembly.compilerType | yasm | yasm or nasm | | assembly.compilerFormat | elf64 | Output format | | assembly.compilerDebugInfo | dwarf2 | Debug info format | | assembly.outputExtension | o | Output file extension | | assembly.enableGoToDefinition | true | Enable Go to Definition (F12) | | assembly.enableDocumentSymbols | true | Enable Outline panel symbols | | assembly.enableSignatureHelp | true | Enable operand hints while typing | | assembly.tabTriggerCompletions | false | Show completions when Tab is pressed | | assembly.tabSize | 8 | Indentation width (2, 4, or 8) |


📂 Supported File Types

.asm .s .S


📋 Requirements

  • Visual Studio Code v1.48.0 or newer
  • YASM or NASM installed (optional for compiler integration)

🖥 Neovim Setup

This extension also ships an LSP server that works with Neovim (and any editor supporting LSP).

1. Install the LSP server

npm install -g assembly-yasm-helper

2. Add to your Neovim config

For LazyVim / NvChad (nvim-lspconfig v2.x):

-- ~/.config/nvim/lua/plugins/asm-lsp.lua
return {
  {
    "neovim/nvim-lspconfig",
    opts = function(_, opts)
      vim.lsp.config('assembly_yasm', {
        cmd = { 'assembly-yasm-lsp', '--stdio' },
        filetypes = { 'asm' },
        root_markers = { '.git' },
      })
      vim.lsp.enable('assembly_yasm')
    end,
  },
}

3. Filetype detection (if .asm files aren't recognized)

vim.filetype.add({ extension = { asm = 'asm', s = 'asm', S = 'asm' } })

Supported features in Neovim

| Feature | Status | |---------|--------| | Completion | ✓ | | Hover | ✓ | | Go to Definition | ✓ | | Document Symbols | ✓ | | Signature Help | ✓ | | References | ✓ | | Diagnostics | ✓ | | Semantic Tokens | ✓ | | Compiler Check (on save) | ✓ |


👨‍💻 Publisher

Developed by Roncho Extended and maintained by VVeb1250