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

@litsx/jsx-authoring

v0.3.0

Published

Shared authored JSX language utilities for Lit sx

Readme

@litsx/jsx-authoring

npm Release Module Provenance

Shared authored-JSX language utilities for LitSX.

This package is the source of truth for the authored syntax layer reused across:

  • parser adapters
  • Babel transforms
  • TypeScript tooling
  • editor-facing utilities

What It Owns

@litsx/jsx-authoring is where LitSX-specific authored syntax gets normalized or virtualized before downstream tools consume it.

That includes:

  • virtual attribute handling for .prop, @event, and ?attr
  • authored-source remapping metadata
  • helper utilities shared by the parser and transform toolchain

Why It Exists

LitSX authored JSX is not plain JSX. The toolchain needs a shared definition of:

  • which authored forms are valid
  • how those forms are virtualized for parsing
  • how source positions are mapped back to the original authored input

Without a shared package, parser, compiler, and tooling layers would drift.

Intended Audience

This is primarily an infrastructure package for:

  • LitSX maintainers
  • tooling authors extending the LitSX compilation stack

It is not the recommended entrypoint for application builds.

For public compilation surfaces, prefer:

Package Role in the Toolchain

Typical flow:

  1. @litsx/jsx-authoring virtualizes authored syntax and records remapping metadata
  2. a parser adapter or internal tool calls @babel/parser over that virtual source
  3. the compiler/plugin layer restores authored positions and performs Babel transforms

That separation keeps authored-syntax knowledge centralized while build integration stays in the public facade packages.