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

@nacrejs/ios

v0.0.1

Published

Nacre 的 iOS 交付物:运行时的预编译产物、工程模板、配置清单。由 @nacrejs/cli 读取

Readme

@nacrejs/ios

Node.js for servers, browsers for the web, Nacre for apps.

Nacre is a JavaScript runtime for iOS apps. Native APIs are exposed to JS, the UI is made of native views, and JS decides everything the app does.

This package is what goes into your project's ios/ folder: the compiled runtime (Nacre.xcframework), the launch shell, and a manifest. It has no commands. The nacre command from @nacrejs/cli reads it from node_modules/@nacrejs/ios and generates ios/.

Documentation · 中文文档

Install

npm install -D @nacrejs/ios @nacrejs/cli @nacrejs/types esbuild typescript

| Package | What it provides | | --- | --- | | @nacrejs/ios | The compiled runtime and the launch shell | | @nacrejs/cli | The nacre command: generates the iOS project from your project | | @nacrejs/types | Types for the editor and the type checker | | esbuild | Bundles your JS into one file | | typescript | Type checking |

For the full walkthrough from an empty folder to the app running in the simulator, see Building your own app.

Requirements

| | | | --- | --- | | Device | iPhone, iOS 26 or later. Real devices and Apple Silicon simulators (arm64) | | Xcode | 26 or later | | XcodeGen | brew install xcodegen. Nacre generates a project description, and XcodeGen turns it into an Xcode project | | Node | 20 or later |

A Nacre project

my-app/
├─ package.json
├─ nacre.config.json      the app's name, bundle ID and other settings
├─ icon.png / icon.icon   the app icon (optional)
├─ launch.png             the image in the middle of the launch screen (optional)
├─ src/main.js            the JS entry point
├─ assets/                images and other resources
└─ ios/                   generated; keep it out of version control, delete and regenerate it at any time

nacre.config.json has two required entries:

{ "name": "MyApp", "bundleId": "com.example.myapp" }

The display name, supported languages, orientations, usage descriptions, URL schemes, entitlements, app icon and launch screen are all set in the project, not in Xcode. See Configuring the app.

Capability packages

Location, the camera, Face ID and a few other system capabilities are separate packages. The app has a capability only if the project installs its package. See Core and capability packages.

Your own native code and third-party native SDKs come in as native modules.

Privacy manifest

Nacre.xcframework carries its own PrivacyInfo.xcprivacy, which declares the required-reason APIs the runtime uses. Your app doesn't need to declare anything for the runtime.

License

FSL-1.1-MIT, see LICENSE.md. The runtime includes V8 and the libraries it depends on; their licenses are in THIRD-PARTY-NOTICES.md.