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-compiler-ap

v3.0.4

Published

πŸ“š **React Compiler**

Readme

πŸ“š React Compiler

react-compiler-ap is a CLI tool that allows you to compile and run React code in your local environment. It creates a notebook.js file that stores your code and can be shared or loaded into the react-compiler-ap application on any local machine.


πŸš€ Features

  • Run React Code Locally – Quickly compile and run your React code in a browser.
  • Notebook File Generation – Automatically generates a notebook.js file in the directory where the CLI command is executed.
  • Code Sharing – Share notebook.js with others who can load and execute it on their local machine.
  • Port Customization – Optionally specify the port for the server.

πŸ“₯ Installation

Run the package using npx (no installation required):

npx react-compiler-ap serve [--port <port>] [myReactCode.js]


πŸ”₯ Usage

1. Run the CLI Command

npx react-compiler-ap serve [--port 3001] [myReactCode.js]

2. Open the Application

After running the command, you will see the following message:

Opened notebook.js. Navigate to http://localhost:4005 to edit the file.

Visit http://localhost:4005 in any browser to start compiling and editing your code.


πŸ“„ How It Works

  1. When the CLI command is executed, a notebook.js file is created in the same directory where the command is run.

  2. The file can be loaded and modified via the browser interface.

  3. If you modify and save your code, the changes are reflected in the notebook.js file.

  4. This file can be shared and executed on any machine that runs react-compiler-ap.


πŸ”— Sharing the Notebook

  • Share the notebook.js file with others.

  • They can load the file by running:

  • npx react-compiler-ap serve [notebook.js]


⚑️ Examples

Run with Default Port

npx react-compiler-ap serve

Opens notebook.js on http://localhost:4005.

Run on Custom Port

npx react-compiler-ap serve --port 3001

Opens notebook.js on http://localhost:3001.

Load Existing File

npx react-compiler-ap serve myReactCode.js

Loads myReactCode.js and opens it on the browser.


πŸ› οΈ Requirements

  • Node.js (v20+ recommended)
  • NPM

🎁 Contributing

Contributions are welcome! If you'd like to contribute or report a bug, please feel free to open an issue or submit a pull request on the GitHub repository.


πŸ“§ Support

If you encounter any problems or have questions, please open an issue.


πŸ“¦ Package Link

πŸ‘‰ react-compiler-ap on npm

Happy Coding! πŸŽ‰