🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@czap/_spine

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@czap/_spine

Type-only spine for czap — declaration-file source of truth shared across published packages

Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

@czap/_spine

TypeScript declaration files — no runtime code — that published @czap/* packages share so your compiler can resolve their types.

You usually don't install this directly — it arrives as a dependency of @czap/core. Install @czap/core instead unless you want only the shared type vocabulary, with zero JavaScript.

Install

pnpm add @czap/core effect@beta # brings @czap/_spine with it

30 seconds

import type { MotionTier, CapLevel } from '@czap/_spine';

const motion: MotionTier = 'transitions'; // 'none' | 'transitions' | 'animations' | 'physics' | 'compute'
const cap: CapLevel = 'animated';         // 'static' | 'styled' | 'reactive' | 'animated' | 'gpu'

This compiles and nothing runs — the npm tarball contains no JavaScript, only .d.ts files. Type-checking without errors is the success criterion.

Where it sits

This is the type-only layer under the foundation: @czap/core, @czap/scene, and @czap/assets depend on it so their published .d.ts files can reference one shared set of contracts instead of duplicating them. It has no runtime dependencies and ships no JavaScript. The runtime implementations of every type declared here live in the corresponding @czap/* package. See the package surfaces map for the full layout.

If it does nothing

A value import (import { MotionTier } from '@czap/_spine') fails at runtime or bundle time with a missing-module error: there is no JavaScript here. Use import type, or import the runtime value from the package that implements it.

Docs

Part of LiteShip — powered by the CZAP engine (Content-Zoned Adaptive Projection), distributed as @czap/* packages.

Keywords

czap

FAQs

Package last updated on 19 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts