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

@hieuvh301195/rn-expo-template

v1.0.0

Published

A comprehensive React Native Expo template with TypeScript, Redux, i18n, theming, and testing

Downloads

5

Readme

@hieuvh301195/rn-expo-template

A comprehensive React Native Expo template with TypeScript, Redux, i18n, theming, and 100% test coverage.

Quick Start

Create a new project using this template:

npx create-expo-app@latest my-awesome-app --template @hieuvh301195/rn-expo-template

Then:

cd my-awesome-app
yarn install
yarn start

After Creating Your Project

  1. Update app.json with your app details:

    • name: Your app display name
    • slug: Your app slug (lowercase, no spaces)
    • ios.bundleIdentifier: Your iOS bundle ID (e.g., com.yourcompany.myapp)
    • android.package: Your Android package name (e.g., com.yourcompany.myapp)
    • scheme: Your app deep link scheme
  2. Set up environment variables:

    cp .env.example .env
    # Edit .env with your values
  3. Install Husky hooks:

    yarn prepare
  4. Run the app:

    yarn start

Features

  • Expo Router: File-based routing with drawer navigation
  • Authentication: Login & Register screens with form validation
  • Todo Management: Todo list with filter tabs (All, New, Done)
  • Drawer Navigation: User profile, settings access, app version
  • Settings: Language switching (EN/VI), Theme switching (Light/Dark)
  • State Management: Redux Toolkit with typed hooks
  • API Layer: Axios with interceptors for logging and error handling
  • Internationalization: i18next with English and Vietnamese
  • Theming: Light and Dark theme support with ThemeProvider
  • Performance: Memoization with useMemo, useCallback, and memo
  • Testing: Jest with 100% coverage requirement (104 tests)
  • Code Quality: ESLint, Prettier, Husky pre-commit hooks

Project Structure

your-app/
├── __tests__/                 # Test files
│   ├── components/            # Component tests
│   ├── hooks/                 # Hook tests
│   ├── services/              # Service tests
│   ├── store/                 # Redux store tests
│   └── utils/                 # Utility tests
├── app/                       # Expo Router screens
│   ├── _layout.tsx            # Root layout (providers)
│   ├── index.tsx              # Entry redirect
│   ├── (auth)/                # Auth route group
│   │   ├── _layout.tsx        # Auth stack layout
│   │   ├── login/             # Login screen
│   │   └── register/          # Register screen
│   └── (main)/                # Main route group (drawer)
│       ├── _layout.tsx        # Drawer layout
│       ├── home/              # Home screen
│       └── settings/          # Settings screen
├── src/
│   ├── api/                   # API layer (Axios client, endpoints)
│   ├── components/            # Reusable components
│   │   ├── atoms/             # Basic components (Button, Input)
│   │   ├── molecules/         # Composed components (TodoItem)
│   │   └── organisms/         # Complex components (TodoList)
│   ├── hooks/                 # Custom hooks
│   ├── i18n/                  # Internationalization
│   ├── store/                 # Redux store
│   ├── theme/                 # Theme configuration
│   └── types/                 # TypeScript types
├── docs/                      # Documentation
└── package.json

Available Scripts

| Command | Description | | -------------------- | ----------------------------- | | yarn start | Start Expo development server | | yarn android | Run on Android | | yarn ios | Run on iOS | | yarn web | Run on Web | | yarn test | Run tests | | yarn test:coverage | Run tests with coverage | | yarn lint | Run ESLint | | yarn lint:fix | Fix ESLint issues | | yarn format | Format code with Prettier | | yarn typecheck | TypeScript type checking |

Documentation

Tech Stack

  • Framework: React Native with Expo SDK 53
  • Routing: Expo Router (file-based)
  • State Management: Redux Toolkit
  • Styling: React Native StyleSheet with ThemeProvider
  • i18n: i18next + react-i18next
  • HTTP Client: Axios
  • Testing: Jest + React Native Testing Library
  • Linting: ESLint + Prettier
  • Git Hooks: Husky + lint-staged

Publishing Template (For Maintainers)

To publish or update the template:

# Login to npm
npm login

# Publish
npm publish --access public

License

MIT