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-next-image

v0.0.5

Published

react-native-next-image

Readme

react-native-next-image

Advanced, high-performance image loading for React Native.

Built for speed. Optimized for the New Architecture. Powered by Coil 3 (Android) and SDWebImage (iOS).

npm version npm downloads platforms license


⚠️ 🚧 Status: Alpha Development

[!CAUTION] This package is NOT yet production-ready. react-native-next-image is currently in an active Development and Testing phase. We are rapidly iterating on the API, resolving native crashes, and fixing significant bugs.

Our Recommendation: Do not use this package in production environments until we reach version 1.0.0. Use it for experimentation and testing only.


✨ Key Features (Under Development)

  • 🏎️ Dynamic Pre-fetching: Background image loading based on proximity to the viewport (Customizable threshold).
  • Modern Native Engines:
    • Android: Powered by the latest Coil 3 (Kotlin First, Coroutine based).
    • iOS: Powered by SDWebImage (The gold standard for iOS image loading).
  • 🎨 Native Transitions: Support for fade, slide, scale, and bouncy gravity animations.
  • 🛠️ Native Processing: High-performance borderRadius, isCircle, and grayscale filters handled at the engine level.
  • 🧠 Smart Caching: Configurable TTL (Time-To-Live) and custom HTTP headers support.

📦 Installation

# Using yarn
yarn add react-native-next-image

# Using npm
npm install react-native-next-image

iOS Setup

cd ios && pod install

💡 Usage

import NextImage from 'react-native-next-image';

<NextImage
  source={{
    uri: 'https://example.com/image.jpg',
    headers: { Authorization: 'Bearer YOUR_TOKEN' },
    priority: 'high',
    cache: 'immutable',
    cacheDuration: 60, // 60 minutes
  }}
  prefetchThreshold={4}  // Load when within 400% of screen height
  transition="gravity"
  borderRadius={20}
  style={{ width: '100%', height: 300 }}
/>

📖 API Reference

Props

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | source | Source | - | Required. Image source configuration. | | defaultSource | string | - | Fallback image URL. | | resizeMode | ResizeMode | 'cover' | 'contain', 'cover', 'stretch', 'center'. | | transition | Transition | 'none' | 'fade', 'slide', 'scale', 'gravity'. | | transitionDuration | number | 300 | Transition duration in milliseconds. | | prefetchThreshold | number | 4 | Viewport threshold (multiple of screen size). | | borderRadius | number | 0 | Native corner radius. | | isCircle | boolean | false | Native circular crop. | | grayscale | boolean | false | Native grayscale filter. | | downsample | boolean | true | Memory-optimized loading. |

Source Object

| Field | Type | Default | Description | | :--- | :--- | :--- | :--- | | uri | string | - | Required. Image URL. | | headers | Object | {} | HTTP Headers. | | cacheDuration | number | 10080 | Cache TTL in minutes. |


🗺️ Roadmap to v1.0

  • [ ] Stabilize Native API Parity (Coil 3 vs SDWebImage)
  • [ ] Resolve memory leaks in large lists
  • [ ] Implement robust error handling and retry logic
  • [ ] Complete Test Suite (Unit + Integration)
  • [ ] Detailed Documentation Site
  • [x] v1.0.0 Production Release

🤝 Contributing

Contributions are welcome! Please read our CONTRIBUTING.md to get started.


📜 License

MIT © I Plus T Solution