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 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-resilient-app

v1.0.0

Published

CLI tool to scaffold React or Vue applications with ResVault SDK.

Downloads

62

Readme

Create Resilient App

create-resilient-app is a CLI tool for scaffolding a new React or Vue application with ResVault SDK integration. It supports both JavaScript and TypeScript.

Features

  • Supports both React and Vue frameworks.
  • Choose between JavaScript and TypeScript.
  • Automatically sets up your project with the appropriate file structure, ResVault SDK, and dependencies.
  • Easy to use with flags or interactive prompts.

Installation

You don't need to install it globally. Just run the command with npx:

npx create-resilient-app

Alternatively, you can install it globally:

npm install -g create-resilient-app

Usage

Interactive Mode

Running npx create-resilient-app without flags will start an interactive prompt to help you set up your project.

npx create-resilient-app

You will be asked the following questions:

  1. Project Name: The name of your project.
  2. Framework: Choose between React or Vue.
  3. Language: Choose between JavaScript or TypeScript.

Using Flags

You can also bypass the interactive mode by providing all the necessary options through flags:

npx create-resilient-app --name my-app --framework react --language typescript

Flags

  • -n, --name: Name of the project (required if not using interactive mode).
  • -f, --framework: Choose the framework: react or vue (required if not using interactive mode).
  • -l, --language: Choose the language: javascript or typescript (required if not using interactive mode).

Example Commands

  • Create a React app using TypeScript:

    npx create-resilient-app --name my-react-app --framework react --language typescript
  • Create a Vue app using JavaScript:

    npx create-resilient-app --name my-vue-app --framework vue --language javascript

Project Setup

Once the project is generated, navigate to your project directory:

cd my-app

Then, install the project dependencies:

npm install

Running the Project

After installing the dependencies, you can run the project:

For React:

npm start

For Vue:

npm run dev

Customizing the Project

The project includes a basic setup with ResVault SDK integrated. Feel free to customize the project as per your needs.

Contributing

Feel free to open issues or submit pull requests if you find bugs or want to add new features.

License

This project is licensed under the Apache-2.0 License.