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 🙏

© 2025 – Pkg Stats / Ryan Hefner

react-native-template-nativego

v1.3.13

Published

Nativego is react native template to for a quick start.

Readme

React Native Template Nativego

Nativego is react native template for a quick start.

➡️ Dependencies

npx react-native init <APPLICATION_NAME> --template react-native-template-nativego

Note on the legacy CLI

There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy react-native-cli first (npm uninstall -g react-native-cli), for the below command to work. If you wish to not use npx, you can also install the new CLI globally (npm i -g @react-native-community/cli or yarn global add @react-native-community/cli).

Further information can be found here: https://github.com/react-native-community/cli#about

⭐️ Dependencies

🗄 File Structure:

src/

All the files are inside this base component.

api/

This folder contains logic related to external API communications, it includes:

  • endpoints.js - where all required static values are stored.
  • helper.js - for storing reusable logic.
  • individual feature files — Each feature file contains api communication logic for a particular feature.

assets/

Just as the name implies, this houses static files (e.g images) used in the application.

  • assets/fonts : contains the custom fonts that are using
  • assets/images : contains the images that are using
  • assets/json : contains the json that are using
  • assets/lottie : contains the lottie that are using

redux/

This holds all the redux files if you are using react-redux for managing state. Inside redux folder you have actions, reducers, store which can easily manage your redux files.

  • redux/actions: All the action files which are using around redux goes here.
  • redux/reducers: All the reducers which are using around redux goes here.
  • redux/store: You can put your store inside this redux store folder.

components/

Shared components used across features are placed in this directory. An example of such (as shown above) is the layout component, which is used to wrap the application components and determine its overall layout.

  • components/alert: this contains the Alert and ConfirmationAlert
  • components/background: base class and custom keyboard aware view for screens.
  • components/button: common button.
  • components/enum: contain enums.
  • components/flatListItem: contain the List items.
  • components/input: contain the several type of TextInputs.
  • components/modal: contain the dropdown modal for InputDropDown and modal container .
  • components/preloader: contain the progress indicator and loading indicator.

screens/

You can put you all screen-based components inside here (Eg - SplashScreen, HomeScreen).

navigation/

You project base navigation goes here. You can create stack navigator and export it to your application.

styles/

If you have global styles defined in your project you can put it over here like colors, font styles like things.

utilities/

You can put utils files over here.

  • utilities/context/theme: this include dark and light theme context.
  • utilities/functions/format : this folder include three most useful function currencyFormat, decimalFormat, dateFormat.
  • utilities/functions/logs: this include log function which you can use to log the message either as console.log or write to a file.
  • utilities/functions/validation: this folder include three most useful function validateEmail, validatePassword.