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

create-rn-web-template

v1.2.1

Published

React Native Web 项目模板生成器

Readme

create-rn-web-template

一个用于快速创建 React Native Web 项目的命令行工具。

特性

  • 🚀 快速创建 React Native Web 项目
  • 📱 支持 Web 和移动端开发
  • 🎨 内置基础样式和布局
  • 📦 包含必要的依赖配置
  • 🔧 TypeScript 支持
  • 📝 详细的文档和注释

快速开始

使用 npm:

npx create-rn-web my-app

使用 yarn:

yarn create rn-web my-app

使用方法

  1. 创建新项目:
npx create-rn-web my-app
  1. 进入项目目录:
cd my-app
  1. 安装依赖:
npm install
  1. 启动开发服务器:
npm start
  1. 在浏览器中访问 http://localhost:3000

项目结构

my-app/
  ├── public/              # 静态资源
  │   ├── index.html      # HTML 模板
  │   └── manifest.json   # Web 应用清单
  ├── src/                # 源代码
  │   ├── App.tsx        # 主应用组件
  │   └── index.tsx      # 入口文件
  ├── package.json       # 项目配置
  └── tsconfig.json     # TypeScript 配置

可用脚本

  • npm start - 启动开发服务器
  • npm build - 构建生产版本
  • npm test - 运行测试
  • npm run eject - 弹出配置文件

技术栈

  • React
  • React Native
  • React Native Web
  • TypeScript
  • React DOM
  • React Scripts

浏览器支持

  • Chrome (最新版)
  • Firefox (最新版)
  • Safari (最新版)
  • Edge (最新版)

贡献指南

  1. Fork 本仓库
  2. 创建特性分支 (git checkout -b feature/AmazingFeature)
  3. 提交更改 (git commit -m 'Add some AmazingFeature')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 开启 Pull Request

许可证

本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情