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-template-tab

v1.0.1

Published

react-native-template 模版,显示TAB内容

Readme

react-native-template-Tab

背景: 当我们新建项目时,需要使用如下命令:

react-native init XXXX

此时,新建的项目只包含一些官方提供的基础代码,而当我们想要去使用某些项目内的工具方法,包括适配,图片等时,就需要进行代码迁移 而一些经常使用的第三方也需要我们进行重新依赖。

Template:

当我们新建项目时,使用如下命令:

react-native init XXXX --template tab

此时,新建的项目不仅包含官方提供的基础源码,也包含一些此库的方法。

此库主要包含以下两个方面:

1-:一些常用方法,开发技巧。

  包括一些适配已经一些实例

2-:一些常用功能的路由配置

   包括TAB,一些页面跳转。

2-:此库路由包含以下两种方式:

 -1:react-native-router-flux
 
 -2:react-navigation