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

cb-sting-tokens

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cb-sting-tokens

Public design tokens package for the Sting design system

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

CB Sting Tokens

CB Sting Tokens is a public design tokens package for the Sting design system.

This repository is publish-only. Source code, tests, and the production build live in /Users/cb-jayaraj/Documents/2026/cb-react-dls/packages/sting-tokens. This package repository keeps npm metadata and the built dist folder that is published to npm.

For future releases, see Publishing Guide.

Install

npm install cb-sting-tokens

Usage

Import the token bundle from the package root:

import stingTokens, { colors, spacing, typography, shadows } from "cb-sting-tokens";

console.log(stingTokens.colors.primary[500]);
console.log(colors.primary[500]);
console.log(spacing[4]);
console.log(typography);
console.log(shadows);

CommonJS is also supported:

const stingTokens = require("cb-sting-tokens");

Sync The Build

Build the source package first:

cd /Users/cb-jayaraj/Documents/2026/cb-react-dls
pnpm --filter @chargebee/sting-tokens build

Then sync the built files into this publish-only repo:

cd /Users/cb-jayaraj/Documents/2026/cb-sting-tokens
npm run sync:dist

If the source repo is somewhere else, pass paths explicitly:

TOKENS_SOURCE_PATH=/absolute/path/to/sting-tokens npm run sync:dist

or:

TOKENS_DIST_PATH=/absolute/path/to/sting-tokens/dist npm run sync:dist

The sync step requires these files to exist:

  • dist/index.js
  • dist/index.cjs
  • dist/index.d.ts

Publish

Preview package contents:

npm pack --dry-run

Publish to npm:

npm publish

Unscoped npm packages are public by default.

FAQs

Package last updated on 29 Apr 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