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

@dsmith-dev/detect

v0.5.0

Published

Repository detection for dsmith: styling approach, design system, framework, Storybook and lint

Readme

@dsmith-dev/detect

Repository detection for dsmith: styling approach, design system, framework, Storybook and lint.

React Native

  • 프레임워크: react-native 또는 expo 의존성이면 framework.name이 react-native다.
  • 스타일링 방식 react-native-stylesheet: react-native 의존성 또는 소스의 StyleSheet.create(. 프레임워크가 React Native이면 inline-style을 방식과 activeExtractors에서 빼고(RN Extractor가 style={{ … }}도 읽어 같은 값을 두 번 세지 않게), 근거에 supersedes: inline-style을 남긴다. overrides.activeExtractors로 되돌릴 수 있다. 웹 프레임워크(Next + react-native-web)에서는 빼지 않는다.
  • 파일 하나로 된 로컬 DS: components/ui·src/components/ui·src/ui의 .tsx·.ts·.jsx·.js 파일이 있으면 ds가 { kind: "local", dir, entry }이다(dir은 확장자를 뗀 module 키).

JS 테마 모듈

export const colors = { … } as const 모양의 모듈이 쓰이면 ds.jsThemes: { file, module, exports, importers }[]로 보고하고 그 파일을 ds.tokenFiles에 넣는다(웹·React Native 공통). 후보 파일 중 core readJsThemeTokens로 읽은 토큰이 2개 이상이고, 다른 소스 파일이 그 module을 1개 이상 import하는 것만 테마로 본다. init이 만든 tokens.ts(옆에 tokens.json)는 후보가 아니다.

Docs: https://github.com/project-hh-org/dsmith#readme