Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Nwb | 5,322 | 1,533 | 3,150 | 2 years ago | 104 | May 20, 2020 | 162 | other | JavaScript | |
A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it) | ||||||||||
Nerv | 5,321 | 354 | 322 | 3 years ago | 119 | June 03, 2020 | 88 | mit | JavaScript | |
A blazing fast React alternative, compatible with IE8 and React 16. | ||||||||||
Freactal | 1,674 | 73 | 5 | 2 years ago | 16 | February 13, 2018 | 32 | mit | JavaScript | |
Clean and robust state management for React and React-like libs. | ||||||||||
Refract | 805 | 5 | 2 years ago | 32 | December 29, 2021 | 4 | mit | TypeScript | ||
Harness the power of reactive programming to supercharge your components | ||||||||||
Create Chrome Ext | 660 | 4 days ago | 14 | September 09, 2022 | 12 | mit | JavaScript | |||
🍺 Scaffolding your Chrome extension! Boilerplates: react \ vue \ svelte \ solid \ preact \ alpine \ lit \ stencil \ inferno \ vanilla | ||||||||||
React Hint | 338 | 24 | 7 | 2 years ago | 23 | April 02, 2021 | 8 | mit | JavaScript | |
Tooltip component for React, Preact, Inferno | ||||||||||
Single Spa Examples | 337 | 4 years ago | 15 | mit | JavaScript | |||||
Examples of single-spa applications. | ||||||||||
Qreact | 296 | 4 | 5 | 5 years ago | 56 | July 27, 2018 | 1 | apache-2.0 | JavaScript | |
QReact 是去哪儿网 YMFE 团队推出的 100% 兼容官方 React 的迷你框架 | ||||||||||
Scoped Style | 126 | 3 years ago | 22 | May 17, 2020 | 1 | JavaScript | ||||
A tiny css in js library 🚀 | ||||||||||
Leo | 100 | 3 | 2 | 3 years ago | 28 | May 11, 2017 | 27 | JavaScript | ||
Highly Extensible, Declarative Static Site Generator |
nwb is a toolkit for:
A zero-config development setup is provided, but nwb also supports configuration and plugin modules which add extra functionality (e.g. Sass support), should you need them
Installing globally provides an nwb
command for quick development and working with projects.
npm install -g nwb
Note: if you're using npm 5 and getting an
EACCES: permission denied
error from nwb's PhantomJS dependency while installing globally, try passing an--unsafe-perm
flag:
npm install -g --unsafe-perm nwb
To use nwb's tooling in a project, install it as a devDependency
and use nwb
commands in package.json
"scripts"
:
npm install --save-dev nwb
{
"scripts": {
"start": "nwb serve-react-app",
"build": "nwb build-react-app"
}
}
For quick development with React, Inferno, Preact or vanilla JavaScript, use the nwb react
, nwb inferno
, nwb preact
or nwb web
commands.
import React, {Component} from 'react'
export default class App extends Component {
render() {
return <h1>Hello world!</h1>
}
}
$ nwb react run app.js
✔ Installing react and react-dom
Starting Webpack compilation...
Compiled successfully in 5033 ms.
The app is running at http://localhost:3000/
$ nwb react build app.js
✔ Building React app
File size after gzip:
dist\app.cff417a3.js 46.72 KB
See Quick Development with nwb for a more detailed guide.
Use nwb new react-app
to create a React app skeleton, preconfigured with npm scripts which use nwb
for development:
nwb new react-app my-app
cd my-app/
npm start
Open localhost:3000, start editing the code and changes will be hot-reloaded into the running app.
npm test
will run the app's tests and npm run build
will create a production build.
See Developing React Apps with nwb for a more detailed guide.
Use nwb new preact-app
to create a Preact app skeleton:
nwb new preact-app my-app
Use nwb new inferno-app
to create an Inferno app skeleton:
nwb new inferno-app my-app
Use nwb new web-app
to create a vanilla JavaScript app skeleton:
nwb new web-app my-app
nwb new react-component my-component
cd my-component/
npm start
will run a demo app you can use to develop your component or library against.
npm test
will run the project's tests and npm run build
will create ES5, ES modules and UMD builds for publishing to npm.
See Developing React Components and Libraries with nwb for a more detailed guide.
nwb new web-module my-module
cd my-module/
npm test
will run the project's tests and npm run build
will create ES5, ES modules and UMD builds for publishing to npm.
Get started quickly. Start developing from a single .js
file or generate a project skeleton.
Covers the whole development cycle. Development tools, testing and production builds for projects work out of the box, no configuration required.
Flexible. While everything works out of the box, you can also use an optional configuration file to tweak things to your liking.
Manages key development dependencies and configuration for you. Check out an example of the effect using nwb had on the amount of devDependencies
and configuration to be managed in a real project it was dropped into.
Cover image created by GeorgioWan
Operating system icons created with Icons8