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

new-web-app

v0.5.4

Published

Frontend app generator

Downloads

30

Readme

Welcome to new-web-app 👋

oclif Version Downloads/week LicensePrerequisite Twitter: jellydn

Frontend app generator

🏠 Homepage

Intro New-Web-App CLI

Prerequisites

  • node >=14.0.0

Built with

  • https://oclif.io/ - The Open CLI Framework
  • https://github.com/Rich-Harris/degit straightforward project scaffolding
  • https://github.com/shelljs/shelljs Unix shell commands for Node.js
  • https://github.com/wj42ftns/replace-in-files Replace text in one or more files or globs.

Features

  • [x] Support React + Typescript template
  • [ ] Support Svelte
  • [ ] Support Solid

Why vitejs

Thank you for awesome recording from Amjad Masad ./compare.gif

In short, better performance, more detail on https://blog.replit.com/vite

Install

# Install globally with yarn
yarn global add new-web-app
# Or install globally with npm
npm install -g new-web-app

Usage

Commands

new-web-app help [COMMANDS]

Display help for new-web-app.

USAGE
  $ new-web-app help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for new-web-app.

See code: @oclif/plugin-help

new-web-app react

React App Generator

USAGE
  $ new-web-app react [-v] [-h] [-n <value>] [-t yes|no] [-s yes|no] [-a yes|no] [-q yes|no] [-f yes|no]
    [-c yes|no]

FLAGS
  -a, --linter=<option>           add ESLint, Prettier with sort imports plugin
                                  <options: yes|no>
  -c, --cypress=<option>          add cypress
                                  <options: yes|no>
  -f, --react-hook-form=<option>  add react-hook-form
                                  <options: yes|no>
  -h, --help                      Show CLI help.
  -n, --name=<value>              folder name to create
  -q, --react-query=<option>      add react-query
                                  <options: yes|no>
  -s, --storybook=<option>        add storybook
                                  <options: yes|no>
  -t, --tailwind=<option>         add tailwind css
                                  <options: yes|no>
  -v, --version                   Show CLI version.

DESCRIPTION
  React App Generator

EXAMPLES
  $ npx new-web-app@latest react -n=react-app -a=yes -q=yes

  $ npx new-web-app@latest react --name=react-app --airbnb=yes --react-query=yes

See code: dist/commands/react/index.ts

new-web-app react upgrade-react-18

Upgrade to React 18

USAGE
  $ new-web-app react upgrade-react-18 [-d <value>]

FLAGS
  -d, --directory=<value>  folder name to update

DESCRIPTION
  Upgrade to React 18

See code: dist/commands/react/upgrade-react-18.ts

new-web-app update [CHANNEL]

update the new-web-app CLI

USAGE
  $ new-web-app update [CHANNEL] [-a] [-v <value> | -i] [--force]

FLAGS
  -a, --available        Install a specific version.
  -i, --interactive      Interactively select version to install. This is ignored if a channel is provided.
  -v, --version=<value>  Install a specific version.
  --force                Force a re-download of the requested version.

DESCRIPTION
  update the new-web-app CLI

EXAMPLES
  Update to the stable channel:

    $ new-web-app update stable

  Update to a specific version:

    $ new-web-app update --version 1.0.0

  Interactively select version:

    $ new-web-app update --interactive

  See available versions:

    $ new-web-app update --available

See code: @oclif/plugin-update

Demo

https://gyazo.com/2ace08cfb1435f82a1c8e9550f547e44.gif

Author

👤 Huynh Duc Dung @jellydn

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Stargazers

Stargazers repo roster for @jellydn/new-web-app

Show your support

kofi paypal buymeacoffee

Give a ⭐️ if this project helped you!