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-moon-splash

v1.0.7

Published

A fully customizable native splash screen for React Native with fade-in animation and logo sizing.

Downloads

7

Readme

README.md:

# react-native-moon-splash 🌙

A **fully customizable native splash screen** for React Native apps with **fade-in animation**, **logo sizing**, and **text support**.  
Works on **Android** and **iOS**.

---

## Features

- Native splash screen (appears before JS loads)
- Custom **background color**
- Custom **logo** with **width & height**
- Optional **fade-in animation**
- Optional **text label**
- Auto-hide after specified **duration**
- Fully **TypeScript supported**

---

## Installation

```bash
npm install react-native-moon-splash
# or
yarn add react-native-moon-splash
```

iOS

cd ios && pod install

Usage

import React, { useEffect } from "react";
import { View, Text } from "react-native";
import MoonSplash from "react-native-moon-splash";

export default function App() {
  useEffect(() => {
    MoonSplash.show({
      backgroundColor: "#000",
      logo: "app_logo", // native resource name
      logoWidth: 150,
      logoHeight: 150,
      text: "Welcome to Moon App",
      duration: 2500, // in milliseconds
      animation: "fade", // fade | none
    });
  }, []);

  return (
    <View style={{ flex: 1, alignItems: "center", justifyContent: "center" }}>
      <Text>🌙 Main App Loaded</Text>
    </View>
  );
}

API

MoonSplash.show(options)

| Option | Type | Default | Description | | | ----------------- | -------- | ----------- | -------------------------------------------------------- | -------------------------- | | backgroundColor | string | "#FFFFFF" | Background color of splash | | | logo | string | undefined | Name of native logo asset (Android drawable / iOS asset) | | | logoWidth | number | 100 | Width of logo | | | logoHeight | number | 100 | Height of logo | | | text | string | "" | Optional text under logo | | | duration | number | 1000 | Duration before auto-hide (ms) | | | animation | `"fade" | "none"` | "none" | Fade-in animation for logo |

MoonSplash.hide()

Manually hide the splash screen.


Example

See example/ folder for a working React Native demo.


TypeScript Support

Fully typed. Autocomplete works in editors like VSCode.


License

MIT © Devendra