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

midestic-rn-library

v0.1.2

Published

CLI for adding individual, editable NativeWind React Native components to your app.

Readme

midestic-rn-library

My personal collection of React Native components, styled with NativeWind. Use the CLI to copy only the components you want into your app, then edit and maintain those source files yourself.

This is an independent personal component library. It complements React Native's built-in components; it is not a replacement for them.

Add components

From your React Native app, list available components and add only the ones you want:

npx midestic-rn-library list
npx midestic-rn-library init
npx midestic-rn-library add button
npx midestic-rn-library add input themed-view

The CLI copies the selected component files and their local helpers into your app's src/ directory. It does not add this library as a runtime dependency. Existing files are left untouched; use --overwrite only when you want to replace them.

Use --src-dir app to copy components into app/ instead of src/. The CLI reports any additional package dependencies needed by your selected components.

Requirements

The components use React Native and NativeWind v4. Configure NativeWind in your app's Babel, Metro, Tailwind, and global CSS setup. The init command copies the design-token preset and prints the Tailwind configuration to add. See the installation guide for full instructions.

Some components require additional native packages, such as react-native-svg, react-native-safe-area-context, react-native-gesture-handler, or react-native-reanimated. The CLI lists dependencies for the components you add; in Expo apps, install native packages with npx expo install.

Available components

app-image, app-switch, button, calendar, celebration-shower, checkbox, draggable-drawer, drawer, header-back, icons, input, modal, my-text, number-input, otp-input, otp-input-square, phone-input, safe-top-view, search-input, select-input, status-switch, tabs, textarea, themed-scrollview, themed-text, themed-title, themed-view.

The icons entry adds the current icon set as one source file.

Examples and documentation

  • Run the interactive component stories with npm run storybook.
  • Start the docs site with npm run docs:start.
  • Build the docs site with npm run docs:build.

The Storybook app and docs site in this repository are for browsing and developing this personal component collection.

Development

npm install
npm run typecheck
npm run lint
npm test
npm run build
npm pack --dry-run

Publishing the CLI

After confirming the npm package name is available and you are signed in:

npm pack --dry-run
npm publish --access public

Publishing runs the package checks and builds TypeScript declarations. Users can then run the CLI with npx midestic-rn-library.

npm requires two-factor authentication or a granular access token with publishing access to publish packages. If prompted for a one-time password, enter it only in your local terminal.

For later releases, increment the version before publishing:

npm version patch --no-git-tag-version
npm publish --access public

License

MIT