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

lemon-devkit

v0.0.15

Published

Lemon Serverless Micro-Service Platform for local development

Readme

lemon-devkit

local develop kit for lemon-core

Usage

  • required to install seperately lemon-core in advance.
# STEP.1 install `lemon-devkit`
npm i --save-dev lemon-devkit

lemon-fields

ts-transformer-keyskeys<T>()를 generated registry 방식으로 교체하는 CLI 도구이다.

  • migrate: 기존 keys<T>() 호출을 fieldKeys.<name><T>()로 변환
  • gen: TypeScript checker로 field 목록을 읽고 src/generated/field-registry.ts 생성
  • --check: generated registry가 source와 같은지 확인
  • guard-common: transformer spec의 checkAllKeys 안에 공통 모델 필드 검증 자동 삽입/갱신

적용 순서

1. project package.json에 script 추가

{
  "scripts": {
    "fields:migrate": "lemon-fields migrate --report --update-tsconfig",
    "fields:gen": "lemon-fields gen --report",
    "fields:check": "lemon-fields --check",
    "fields:guard-common": "lemon-fields guard-common --report"
  }
}

2. migration 명령어 실행

npm i --save-dev [email protected]
npm run fields:migrate
npm run fields:gen
npm run fields:guard-common
  • npm i --save-dev [email protected]: project에 lemon-devkit 0.0.13를 dev dependency로 설치
  • npm run fields:migrate: 기존 keys<T>() 호출을 fieldKeys.<name><T>()로 변환하고 ts-transformer-keys transformer plugin 제거
  • npm run fields:gen: TypeScript checker로 field 목록을 읽어 src/generated/field-registry.ts 생성
  • npm run fields:guard-common: transformer spec의 checkAllKeys에 공통 모델 필드 검증 삽입/갱신

3. test와 build에 추가

기존 project의 buildtest:watch가 이미 있으면 명령 전체를 바꾸지 말고 앞에 npm run fields:gen && 또는 npm run fields:guard-common &&만 붙인다.

{
  "scripts": {
    "build": "npm run fields:gen && tsc",
    "test:watch": "npm run fields:guard-common && LS=1 jest --config=jest.config.json --watchAll"
  }
}

CI에는 npm run fields:check를 추가하는 것을 권장한다.

src/generated/field-registry.ts는 source가 직접 import하는 파일이므로 commit 대상이다.

자세한 사용법은 lemon-fields README를 참고한다.


Proxy

[email protected]부터 install/upgrade 시 consumer project의 docs/proxy-implementation-guide.mdREADME.md에 proxy 구현 가이드를 자동 반영한다. Proxy 기능을 추가하거나 변경할 때는 proxy implementation guide를 먼저 확인한다. BackendProxy, ManagerProxy, guardProxy() 계열 동작과 프로젝트 적용 절차를 이 문서 기준으로 맞춘다.


VERSION INFO

| Version | Description |-- |-- | 0.0.13 | added proxy development documentation. | 0.0.6 | optimized loadProfile() w/o async. | 0.0.4 | initial release.