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

@flexmatch-dev/interface

v0.1.9

Published

Shared API interfaces and constants for FlexMatch platform services.

Readme

@flexmatch-dev/interface

FlexMatch 프로젝트의 프론트엔드와 백엔드가 공유하는 API 타입, 페이로드, 상수를 관리하는 경량 패키지입니다.

스크립트

  • npm run build – TypeScript를 dist/ 폴더로 컴파일합니다.
  • npm run build:watch – 변경 사항을 감지하며 빌드를 실행합니다.

패키지는 prepare 스크립트에 build가 연결되어 있으므로 다른 프로젝트(예: frontend, backend)에서 npm install 시 자동으로 빌드됩니다.

사용 방법

import { USER_ROLES, type LoginRequest } from '@flexmatch-dev/interface';

const request: LoginRequest = {
  email: '[email protected]',
  password: 'secret',
  targetRole: USER_ROLES.ADMIN,
};

설치

npm install @flexmatch-dev/interface

규칙

  • constant – 공통으로 사용하는 상수
  • request – API request에 사용하는 body 혹은 query셋
  • response – API response에 사용하는 body
  • error – HTTP exception에 사용하는 에러 코드 및 response의 body
  • message – 소켓 통신에 사용하는 메시지 페이로드
  • interface – 그 외에 공통 인터페이스

배포 가이드

  1. 버전 태깅
    npm version <major|minor|patch>
  2. 빌드 확인
    npm run build
  3. 패키지 발행
    npm publish --access public

패키지에는 dist/ 산출물만 포함되며, 불필요한 파일은 .npmignorepackage.jsonfiles 필드를 통해 제외됩니다.