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-yoga-jsi

v0.2.1

Published

Using Yoga with JSI in React Native

Readme

⚠️ Experimental Warning
This library is in its experimental phase, might be unstable, and may have breaking changes in the future.


Supported Versions

| Platform | Supported Versions | | ----------- | ------------------ | | iOS | >= 0.73.0 | | Android | >= 0.73.0 |


Aim

This library aims to expose Yoga APIs to javascript, enabling advanced layout functionalities with any canvas or svg.


Installation

To install this library, use the following command:

npm i react-native-yoga-jsi

APIs

Core API

The core API is the same as Yoga's WASM bindings, enabling the use of any code that depends on yoga-wasm in React Native.

Core API Docs:
Refer to the official Yoga documentation for details on Yoga's features and usage.

Derived API

The derived API is structured to feel like the standard React Native style API.
Features:

  • Declarative syntax similar to React Native's existing StyleSheet API.
  • More featues on the way.

Roadmap

| Feature | Status | | ---------------------------------------------- | ----------------------------------------------------- | | Core Yoga API bindings | 🌕 Implemented | | Support all react native versions above 0.73.0 | 🌕 Implemented | | Derived api similar to React Native stylesheet | 🌔 In Progress | | Internal tests | 🌔 In Progress | | Compatibility with Reanimated's UI thread | 🌓 Jumping between threads is unstable | | Provide detailed documentation and examples | 🌘 In Progress | | Internal benchmarks | 🌘 In Progress | | Jest mocks | 🌘 In Progress | | Spacer primitive (like SwiftUI) | 🌑 Planned | | Migrate to Nitro Module | 🌑 Planned |


Examples

Here are a few examples demonstrating the use of this library:

Example 1: Text Layout

View Example

Example 2: Animated Layout

View Example

Example 2: Animated Text Layout

View Example


Architecture

The structural foundation of this library originates from react-native-quick-crypto.


Contribution

This library is experimental and open to contributions. Please submit issues, feature requests, or pull requests via the repository.


License

MIT


Happy Hacking! 🚀