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 🙏

© 2025 – Pkg Stats / Ryan Hefner

reactjs-extended

v2.0.0

Published

Extended CLI for ReactJs repetative task

Readme

reactjs-extended

About

Extended CLI for ReactJs repetative task like creating smart component, dumb component, etc.

Feature:

  • Doesn`t need to be installed along with your project dependency.
  • Can create typescript, javascript type smart class based component.
  • Can create typescript, javascript type dumb function based component.
  • Now in V2.0.0, it gives you the power to create custom template on your own.

More features to be added in future. Keep looking forward.  

Installation

Global installation

npm install reactjs-extended -g

Note: Doesn`t require to be installed as a dependency in your project  

Flags Available

 

Usage

Once globally installed. Based on your requirement, it can be used in following ways:

  • To get help on this library uses, use below command -
reactjs-extended-help
  • If you want to generate typescript based component, use below command -
reactjs-extended --name=ComponentName --template=TS-SMART-CLASS
  • If you want to generate javascript based component, use below command -
reactjs-extended --name=ComponentName --template=JS-SMART-CLASS
  • If you want to generate custom structure, use below command -
reactjs-extended  --name=ComponentName --template=template-one

NOTE: custom folder with template file must present in respective directory. See help for more information.

 

Output

  • A folder will be created based on name flag value. It will treated as component name.
  • Based on command run, file generated will be either typescript (tsx, ts) or javascript (jsx, js).
  • Following file will be generated based on the command used -

    TS-SMART-CLASS: Action, Component (class), Constant, Container, Helper, Model, Query, Reducer TS-DUMB-FUNCTION: Component (function), Model JS-SMART-CLASS: Action, Component (class), Constant, Container, Helper, Query, Reducer JS-DUMB-FUNCTION: Component (function) Custom Struture: All 'XXX' keyword will be replaced by '--name' flag value

 

Contact

  • Author: Subhendu Kumar Sahoo
  • Email: [email protected]
  • Website: https://smaro-nitr.github.io
  • Always welcome for a bugfix, feature suggestion, and feedback