New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
p

papit

npm

16.66K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

112 packages

@litium-cli/translation

Pull Litium translations, pages, blocks and products into Excel, push Excel back into project yaml

@papit/2d-spritesheet

Draws frames from a 2D spritesheet on a canvas and plays frame animations.

@papit/accordion

An accessible accordion web component following the WAI-ARIA Accordion pattern, built from composable header and panel elements with full keyboard navigation.

@papit/analyse

Reads a web component package's source and writes analyse.json, describing each custom element's tag, properties, methods, events, states, slots, parts and CSS variables, along with its full extends chain. Use it to generate docs, editor data or framework

@papit/arguments

Parses command-line flags and positional values from process.argv or any argument list, and holds the shared log level every papit CLI reads.

@papit/armature

Bone rig math with forward and inverse kinematics in 3D, which covers 2D too. Reach for it when characters, limbs or tentacles need to reach for things.

@papit/aside

A versatile slide-in panel component for creating sidebars, drawers, and off-canvas navigation with customizable placement, elevation, and behavior.

@papit/asset

Whops, abstract is missing!

@papit/audio

Web Audio mixer for games: buses, layered music, crossfades and 3D sound, working on iOS.

@papit/binary-form-element

Whops, abstract is missing!

@papit/box-intersection

Axis-aligned box intersection in 2D and 3D: AABB overlap, point-in-box and ray vs box. Reach for it as a fast first collision test.

@papit/build

Build tool for @papit packages — opinionated, fast, and designed to work seamlessly inside any Papit-based workspace.

@papit/bundle-js

Bundles the JavaScript entry points a package.json declares with esbuild, and skips the build when no source file has changed since the last run.

@papit/bundle-ts

Rolls a package's TypeScript declarations up into one .d.ts file per entry point, and skips the work when no source file has changed since the last run.

@papit/button

A form-associated button web component with minimal default styling. It submits or resets its form like a native button.

@papit/card

![Type](https://img.shields.io/badge/Type-atom-orange) [![Tests](https://github.com/onkelhoy/web-components/actions/workflows/pull-request.yml/badge.svg)](https://github.com/onkelhoy/web-components/actions/workflows/pull-request.yml) [![NPM version](https

@papit/carousel

An accessible, swipeable carousel built from parts: a scrolling gallery plus prev, next and dot controls you can place anywhere. Follows the WAI-ARIA Carousel pattern, with looping, autoplay and several slides per view.

@papit/checkbox

An accessible, form-associated checkbox web component with an indeterminate state.

@papit/circle-intersection

Circle and sphere intersection in 2D and 3D: where two circles cross, overlap with normal and depth, point inside and ray vs circle. Reach for it for round colliders and picking.

@papit/codeblock

A web component that syntax-highlights and live-previews HTML, CSS and JavaScript. Tokenizing is done by @papit/lexer, with no external dependencies.

@papit/confetti

A confetti web component that fires canvas particles, for celebrations on a page.

@papit/container

Whops, abstract is missing!

@papit/core

**`@papit/core`** is a lightweight foundation for building fast, declarative web components — with powerful decorators, efficient HTML template rendering, and handy utilities.

@papit/corner-lookup

Generates marching squares and marching cubes case tables: every corner pattern mapped to a canonical case plus the rotation and mirror that restore it. Reach for it for dual-grid autotiling, modular building kits or marching cubes.

@papit/create

Scaffolds papit packages, components and monorepo projects from templates, interactively or through flags. Run it inside a papit workspace to add a package or component, or outside one to start a new project.