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

@nexus-cross/tokens-domains

v2.0.0

Published

TO-NEXUS Domain Tokens - 프로젝트별 도메인 토큰 통합 패키지

Readme

@nexus-cross/tokens-domains

NEXUS Design System — 프로젝트별 도메인 토큰 (Prediction 등).

상승/하락(bullish/bearish), 차트 시리즈, 액센트 등 도메인-특화 토큰을 Light/Dark 테마로 제공합니다. @nexus-cross/tokens의 Company 토큰을 상속합니다.


💡 UI 컴포넌트도 같이 쓰시나요?

@nexus-cross/design-system v2.0부터 이 패키지를 dependency로 흡수했습니다. UI를 함께 쓰는 경우엔 design-system 1개만 install 하세요 — 도메인 토큰까지 sub-path로 자동 노출됩니다.

# UI + 토큰 + 도메인 토큰 = 단일 install
npm install @nexus-cross/design-system
/* sub-path로 도메인 토큰 import */
@import '@nexus-cross/design-system/tokens-domains/prediction.css';
@import '@nexus-cross/design-system/tokens-domains/prediction-vars.css';
import { getPredictionTheme } from '@nexus-cross/design-system/tokens-domains';

이 패키지는 UI 없이 도메인 토큰만 단독으로 쓰는 경우에만 직접 install 하세요.


설치 (단독 사용)

npm install @nexus-cross/tokens @nexus-cross/tokens-domains

postinstall에서 nexus-domains-setup CLI가 자동 실행되어 .cursor/rules/nexus-domains.mdc를 설치합니다 (Cursor AI가 도메인 토큰을 자동 인식).

수동 실행:

npx nexus-domains-setup

design-system을 함께 install 하면 design-system의 nexus-ds-setup이 이 작업을 모두 포함하므로 별도 호출 불필요.


사용

Tailwind v4

@import "tailwindcss";
@import "@nexus-cross/tokens/company.css";
@import "@nexus-cross/tokens-domains/prediction.css";

Tailwind v3

// tailwind.config.js
module.exports = {
  presets: [require("@nexus-cross/tokens-domains/tailwind")],
};

순수 CSS (Tailwind 미사용)

@import "@nexus-cross/tokens-domains/prediction-vars.css";

JS/TS API

import { getPredictionTheme } from "@nexus-cross/tokens-domains";
const { domain } = getPredictionTheme("dark");
// domain['domain-market'].bullish.base

Export 경로

| 경로 | 설명 | |---|---| | @nexus-cross/tokens-domains | JS/TS API | | @nexus-cross/tokens-domains/data | Raw JSON 데이터 | | @nexus-cross/tokens-domains/tailwind | Tailwind v3 Preset (tokens 상속) | | @nexus-cross/tokens-domains/prediction.css | Tailwind v4 CSS (@theme) | | @nexus-cross/tokens-domains/prediction-vars.css | 순수 CSS (:root) |


라이선스

ISC