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

@ncds/step-guide

v1.0.0

Published

nhn-commerce의 스텝 가이드 컴포넌트입니다.

Readme

COMMERCE GUIDE 사용법

Import

HTML

<!DOCTYPE html>
<html lang="ko">
  <head>
    ...
    <link href="{commerce guide 경로}/commerce-guide.css" rel="stylesheet" />
  </head>
  <body>
    <script src="{commerce guide 경로}/commerceGuide.js" />
  </body>
</html>

NPM (React, Vue 공용)

npm install @ncds/step-guide
import stepGuide from '@ncds/step-guide';
import { uiClassName } from '@ncds/step-guide';
import '@ncds/step-guide/dist/lib/step-guide.min.css';

인터페이스


const option = {
  el?: document.body
  useAnimation?: boolean,                              // default true
  steps: [
    { // step 1
      title?: 'Title',
      description?: 'Description',
      element?: document.querySelector('#section')
    },
    { // step 2
      description?: '<p>This is a paragraph</p>',
      element?: '#article'
    },
    { // step 3
      title?: 'Title',                             // 툴팁 제목
      description?: 'Description',                 // 툴팁 내용
      element?: document.querySelector('#section') // highlight 될 요소
    },
  ]
};

commerceGuide(option);

API

commerceGuide(option)

Returns: commerceGuide Parameters:

  • option: object
    • el?: string | HTMLElement
    • useAnimation?: boolean (default true)
    • buttonLabel?: { prev: string, next: string, done: string },
    • steps:
    [
      {
        title?: string,
        description?: string,
        element?: string | HTMLElement
      }
      ...
    ]

Example:

commerceGuide(option);

nextStep()

Example:

const guide = commerceGuide(option);

guide.nextStep();

prevStep()

Example:

const guide = commerceGuide(option);

guide.prevStep();

Parameter:

  • step: number

Example:

const guide = commerceGuide(option);

guide.goToStep(3);

exit()

Example:

const guide = commerceGuide(option);

guide.onExit();

빌드

  • packages/step-guide 디렉토리로 이동

전체 빌드 (lib + vanilla)

yarn build

개별 빌드

yarn build:lib      # dist/lib/     - ESM 모듈 (stepGuide.mjs + step-guide.min.css)
yarn build:vanilla  # dist/vanilla/ - UMD (step-guide.min.js + step-guide.min.css + index.html)

CDN 배포 (vanilla용)

yarn build:cdn      # dist/ 루트에 step-guide.min.js + step-guide.min.css 빌드 후 검증
yarn publish:cdn    # 빌드 + NHN Cloud CDN에 업로드
  • 배포 경로: https://fe-sdk.cdn-nhncommerce.com/@ncds/step-guide/{major}.{minor}/
  • package.json의 version 기준으로 major.minor 버전이 결정됨
  • --env=alpha 옵션으로 alpha 환경 배포 가능 (경로에 /alpha/ 추가)

local 실행

  • packages/step-guide 디렉토리로 이동
yarn dev