1.2.0 • Published 3 years ago

spin-react-apps-offline v1.2.0

Weekly downloads
447
License
ISC
Repository
github
Last release
3 years ago

Spin React Apps Offline ⚡️

Spin-React-Apps-Offline is a very light, very fast, offline project installer for React.

It installs your node_modules packages and other necessary files for you without a connection to the Internet. In addition to this, it's much faster than the traditional create-react-app.

spin-react-apps-offline provides several templates for you to choose from. You can install a barebones React application, or install one with built-in TypeScript support, or one with pre-configured routes like Home and Authentication + React-Redux, Redux, React-Router-DOM, built-in Firebase configuration, etc.

$ node --version && npm --version
  1. Typically, you should see two lines of version numbers. The first tells the version of Node.js you have installed. The second tells the version of NPM you have installed. If you get an error at this point, you might need to try reinstalling Node.js.
$ npm install spin-react-apps-offline --global --verbose

This command can be reduced to

$ npm i spin-react-apps-offline -g

These commands install Spin React Apps Offline 'globally'. This means that Spin React Apps Offline will be accessible from any folder in your computer system, not just the folder where these commands were run. This is the recommended way to use Spin React Apps Offline.

Conversely, you can install Spin React Apps Offline in a folder alone. It won't be accessible outside this folder:

$ npm i spin-react-apps-offline

Usage 📖

Using Spin React Apps Offline is a very simple and straightforward process. Spin Reacts Apps Offline provides the ability to install templates: pre-configured modules, code and directory structure for a wide variety of React apps. More templates are being added to Spin Reacts Apps Offline, but at this time the following templates are available:

(Note: Spinning a new React application is as simple as entering:

$ spin_react your_project_name

This will default to the barebones template and Spin Reacts Apps Offline will handle the installation for you.)