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

@bavuchoko/edge-table

v0.1.10

Published

YouTrack-style React data table with column DnD, freeze, virtual rows, and Spring Pageable

Readme

@bavuchoko/edge-table

YouTrack 스타일 React 테이블 — 칼럼 DnD, Alt+클릭 틀고정, 가상 스크롤, Spring Pageable 연동.

Install

npm i @bavuchoko/edge-table @dnd-kit/core @dnd-kit/sortable @dnd-kit/utilities @tanstack/react-virtual

Usage

import { EdgeTable, applyHeaderDefaults, type HeaderState } from '@bavuchoko/edge-table'
import '@bavuchoko/edge-table/style.css'

const ASSET_LIST_HEADER: HeaderState[] = [
  { key: 'name', label: '자산명', type: 'text', width: 200, default: true, visible: true },
  { key: 'code', label: '자산코드', type: 'text', width: 120, default: true, visible: true },
  { key: 'group', label: '자산그룹', type: 'text', width: 140, visible: false },
]

<EdgeTable
  data={page}
  maxHeight={480}
  header={headers}
  onHeaderChanged={(next) => saveHeaders(next)}
  onHeaderReset={() => setHeaders(applyHeaderDefaults(ASSET_LIST_HEADER))}
  onPageChange={(pageable) => fetchPage(pageable)}
/>

Props (요약)

| prop | 설명 | |------|------| | header | HeaderState[] — 헤더 정의 + 현재 표시 상태 | | onHeaderChanged | 칼럼 추가·제거·순서 변경 시 | | onHeaderReset | 기본 헤더로 리셋 시 | | data | Spring Page 형태 { content, pageable, totalPages, ... } | | onPageChange | 정렬/페이지 변경 시 Pageable 전달 | | maxHeight | 있으면 thead 고정 + 본문 스크롤·가상 리스트 | | ref.getChecked() | 현재 체크된 행 배열 |

HeaderState: key, label, type, visible, width?, minWidth?, default?, filterable?, render?

Publish

npm publish

prepack / prepublishOnly에서 build:lib가 먼저 실행됩니다. (publishConfig.access: public)