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

react-native-lalala

v0.0.6

Published

React Native UI library

Readme

react-native-xiaoshu

开发

## 安装依赖
yarn

## 安装 ios 依赖
cd ios && pod install
## ios
yarn ios

## Android
yarn android

文档

## 开发模式
yarn doc

## 打包、上传 github,存到指定分支
## 1.构建文档静态文件
yarn doc:build

## 2.提交
yarn doc:commit

## 3.把 docs-dist 文件夹推送到 gh-pages 分支
yarn doc:pulish

## 3.当前分支回退到文档未提交的时候,且不保存已经构建的静态文件
doc:reset

组件文件夹格式

|-- button
|--|-- demo
|--|--|-- basic.tsx  ## 案例、测试代码,用在 DEMO App、在线文档
|--|--|-- doc.tsx  ## 在线文档页面 DEMO 代码,基本是模板代码
|--|-- index.tsx  ## 组件实现代码
|--|-- index.md  ## 在线文档入口页面
|--|-- interface.ts  ## 组件对外的接口
|--|-- style.ts  ## 组件样式文件

在线文档入口页面

参考 dumi 的指南 https://d.umijs.org/zh-CN/guide

当前的访问路径是 /component/basic/button

---
title: Button 按钮  ## 当前页面的标题
nav:  ## 当前页面在某个顶部导航栏下面
  title: 组件
  path: /component
group:  ## 当前页面在某个分类下面
  title: 基础组件
  path: /basic
  order: 0
---

<code /> 引用示例代码,也可以直接在 md 文件里写 DMO,参考 dumi 文档学习。

<API /><API src="./xxx/tsx" /> 组件用来暴露组件的 props 描述。

打包

yarn build

构建工具使用的是 react-native-builder-bob

待优化

  • [x] 构建产物不包含 demo_demo,已更换文件夹名称为 __fixtures__
  • [x] 构建 TypeScript 声明时,静态资源报错(已使用 SVG 的方式代替图片)