
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
create-react-prototype
Advanced tools
A CLI similar to create-react-app, just for simple & small libraries. 📚
Create, test & showcase React libraries with no build configuration. 📚
create-react-prototype intends to fix these issues by providing a zero configuration out of the box solution for writing react libraries. There won't be a single file related to your build process, etc. in your library.
npm
& yarn
are supportedIf you are a visual learner you can find a video tutorial here: https://www.youtube.com/watch?v=XwdJaKLfFK4
Install create-react-prototype
globally:
$ npm i -g create-react-prototype
Create a new directory for your libaray and initialize the project in it:
$ mkdir my-library
$ cd my-library
$ create-react-prototype init
You'll now be prompted to set up the package.json, and then create-react-prototype
will go ahead and set everything up for you.
Building/testing/releasing your library is rather simple with these scripts:
$ npm run build
$ npm run watch
$ npm run test
$ npm run pack
$ npm run release
If you cd to example
a create-react-app stands ready to be used, with your library already installed:
$ npm run watch
$ cd example
$ npm run start
Read more in the wiki.
1.2.1
FAQs
A CLI similar to create-react-app, just for simple & small libraries. 📚
The npm package create-react-prototype receives a total of 3 weekly downloads. As such, create-react-prototype popularity was classified as not popular.
We found that create-react-prototype demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.