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

larc-vscode

v2.0.0

Published

LARC framework support for Visual Studio Code

Downloads

95

Readme

LARC VS Code Extension

Official Visual Studio Code extension for the LARC framework.

Features

Code Snippets

  • Component boilerplate - Type larc-component to create a full web component
  • PAN bus integration - Type larc-pan-component for PAN-enabled components
  • PAN utilities - Quick snippets for pan-subscribe and pan-publish
  • Import maps - Type larc-importmap for import map setup
  • HTML elements - Quick insertion of LARC components in HTML

Commands

  • LARC: New Component - Interactive component generation
  • LARC: Add Component from Registry - Browse and add components from the registry
  • LARC: View Documentation - Open LARC documentation

IntelliSense

  • Auto-completion for component names
  • Component descriptions in hover tooltips
  • Registry-powered suggestions

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Press Ctrl+Shift+X (or Cmd+Shift+X on Mac)
  3. Search for "LARC"
  4. Click Install

From VSIX

code --install-extension larc-vscode-1.0.0.vsix

Usage

Creating a Component

  1. Open Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
  2. Type "LARC: New Component"
  3. Enter component name (kebab-case)
  4. Component file is created and opened

Or use the snippet:

// Type 'larc-component' and press Tab

Adding from Registry

  1. Open Command Palette
  2. Type "LARC: Add Component from Registry"
  3. Select a component from the list
  4. Component is added to your project

Code Snippets

JavaScript

| Trigger | Description | |---------|-------------| | larc-component | Full web component boilerplate | | larc-pan-component | Component with PAN bus integration | | pan-subscribe | Subscribe to PAN bus topic | | pan-publish | Publish to PAN bus topic | | import-larc | Import LARC core utilities |

HTML

| Trigger | Description | |---------|-------------| | larc-importmap | Import map script tag | | larc-import | Module script tag | | pan-bus | PAN bus element | | larc-comp | Generic LARC component element |

Settings

Configure the extension in your VS Code settings:

{
  "larc.autoImport": true,
  "larc.snippetsEnabled": true,
  "larc.registryUrl": "https://raw.githubusercontent.com/larcjs/registry/main/registry.json"
}

Available Settings

  • larc.autoImport - Automatically add imports for LARC components (default: true)
  • larc.snippetsEnabled - Enable LARC code snippets (default: true)
  • larc.registryUrl - URL to the LARC component registry

Requirements

  • Visual Studio Code 1.80.0 or higher
  • Node.js 18+ (for CLI commands)

Example Workflow

  1. Create a new LARC project:

    npx create-larc-app my-app
    code my-app
  2. Use Command Palette to add a component from registry:

    • Ctrl+Shift+P → "LARC: Add Component from Registry"
  3. Generate a custom component:

    • Ctrl+Shift+P → "LARC: New Component"
  4. Use snippets for quick coding:

    • Type larc-component and press Tab
    • Type pan-subscribe for PAN bus subscriptions

Known Issues

  • Registry loading may take a few seconds on first activation
  • Auto-completion works best with JavaScript and HTML files

Release Notes

1.0.0

  • Initial release
  • Component snippets
  • Registry integration
  • Commands for component generation
  • IntelliSense support

Contributing

See CONTRIBUTING.md

License

MIT

Links