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

nextg

v1.0.0

Published

A CLI tool for generating NextJs applications

Downloads

15

Readme

nextg

A CLI tool for generating NextJs applications

oclif Version CircleCI Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g @shesha/nextg
$ nextg COMMAND
running command...
$ nextg (-v|--version|version)
@shesha/nextg/1.0.0 win32-x64 node-v10.15.3
$ nextg --help [COMMAND]
USAGE
  $ nextg COMMAND
...
$ npm install -g @shesha/nextg
$ nextg COMMAND
running command...
$ nextg (-v|--version|version)
@shesha/nextg/1.0.0 win32-x64 node-v10.16.3
$ nextg --help [COMMAND]
USAGE
  $ nextg COMMAND
...

Commands

nextg component [NAME]

adds a new component

USAGE
  $ nextg component [NAME]

ARGUMENTS
  NAME  name of the component

OPTIONS
  -h, --help  show CLI help

See code: src\commands\component\index.ts

nextg context [NAME]

adds a new context

USAGE
  $ nextg context [NAME]

ARGUMENTS
  NAME  name of the context

OPTIONS
  -h, --help  show CLI help

See code: src\commands\context\index.ts

nextg enum [NAME]

adds a new enum

USAGE
  $ nextg enum [NAME]

ARGUMENTS
  NAME  name of the enum

OPTIONS
  -h, --help  show CLI help

See code: src\commands\enum\index.ts

nextg help [COMMAND]

display help for nextg

USAGE
  $ nextg help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

nextg hoc [NAME]

adds a new Higher-Order Component

USAGE
  $ nextg hoc [NAME]

ARGUMENTS
  NAME  name of the higher-order component

OPTIONS
  -h, --help  show CLI help

See code: src\commands\hoc\index.ts

nextg hook [NAME]

adds a new hook

USAGE
  $ nextg hook [NAME]

ARGUMENTS
  NAME  name of the hook

OPTIONS
  -h, --help  show CLI help

See code: src\commands\hook\index.ts

nextg init [NAME]

generates a new project hahaha

USAGE
  $ nextg init [NAME]

ARGUMENTS
  NAME  name of the project

OPTIONS
  -h, --help  show CLI help

See code: src\commands\init\index.ts

nextg model [NAME]

adds a new model/interface

USAGE
  $ nextg model [NAME]

ARGUMENTS
  NAME  name of the interface/model

OPTIONS
  -h, --help  show CLI help

See code: src\commands\model\index.ts

nextg page [NAME]

adds a new page

USAGE
  $ nextg page [NAME]

ARGUMENTS
  NAME  name of the page

OPTIONS
  -c, --conceal      do not show a link to this page
  -h, --help         show CLI help
  -i, --icon=icon    icon for this page
  -t, --title=title  page title

See code: src\commands\page\index.ts

nextg provider [NAME]

adds a new provider

USAGE
  $ nextg provider [NAME]

ARGUMENTS
  NAME  name of the provider

OPTIONS
  -h, --help  show CLI help

See code: src\commands\provider\index.ts

nextg provider:action [PROVIDER] [NAME]

adds a new action

USAGE
  $ nextg provider:action [PROVIDER] [NAME]

ARGUMENTS
  PROVIDER  name of the provider
  NAME      name of the action

OPTIONS
  -a, --actioned      whether the action should have an actioned flag
  -e, --error         whether the action should have an error flag
  -h, --help          show CLI help
  -p, --isInProgress  whether the action should have an in progress flag
  -s, --success       whether the action should have a success flag

See code: src\commands\provider\action.ts

nextg action NAME

adds a new redux store to the project

USAGE
  $ nextg action NAME

ARGUMENTS
  NAME  name of the store

OPTIONS
  -h, --help  show CLI help

See code: src\commands\action.ts

nextg api [FILE]

adds an API to the project

USAGE
  $ nextg api [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name of the project

See code: src\commands\api.ts

nextg authentication [FILE]

adds authentication to the project

USAGE
  $ nextg authentication [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name of the project

See code: src\commands\authentication.ts

nextg component [FILE]

creates a new component

USAGE
  $ nextg component [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name of the project

See code: src\commands\component.ts

nextg context NAME

adds a new context

USAGE
  $ nextg context NAME

ARGUMENTS
  NAME  name of the context

OPTIONS
  -h, --help  show CLI help

See code: src\commands\context.ts

nextg help [COMMAND]

display help for nextg

USAGE
  $ nextg help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

nextg hoc NAME

adds a new Higher-Order Component

USAGE
  $ nextg hoc NAME

ARGUMENTS
  NAME  name of the higher-order component

OPTIONS
  -h, --help  show CLI help

See code: src\commands\hoc.ts

nextg hook NAME

adds a new hook

USAGE
  $ nextg hook NAME

ARGUMENTS
  NAME  name of the hook

OPTIONS
  -h, --help  show CLI help

See code: src\commands\hook.ts

nextg init [NAME]

generates a new project

USAGE
  $ nextg init [NAME]

ARGUMENTS
  NAME  name of the project

OPTIONS
  -a, --authentication   include authentication

  -f, --force            does not ask the user to confirm if they do not want any of authentication, googleAnalytics or
                         insights

  -g, --googleAnalytics  include Google Analytics

  -h, --help             show CLI help

  -i, --insights         include Application Insights

See code: src\commands\init.ts

nextg page [FILE]

adds a new page

USAGE
  $ nextg page [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name of the project

See code: src\commands\page.ts

nextg store NAME

adds a new redux store to the project

USAGE
  $ nextg store NAME

ARGUMENTS
  NAME  name of the store

OPTIONS
  -h, --help  show CLI help

See code: src\commands\store.ts

nextg swag NAME

adds/updates a swagger file and regenerates the APIs

USAGE
  $ nextg swag NAME

ARGUMENTS
  NAME  name of the destination file

OPTIONS
  -h, --help               show CLI help
  -p, --password=password  password of the server that hosts the swagger file
  -u, --username=username  username of the server that hosts the swagger file

See code: src\commands\swag.ts