Socket
Socket
Sign inDemoInstall

scafer

Package Overview
Dependencies
265
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    scafer

scafer cli tool to generate component's boilerplate


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

scafer

scafer cli tool to generate component's boilerplate. Basically it will take component name and generate folders and respective files.

Usage

Run following script to generate boilerplate for React component.

scafer Avatar --dir src/components --typescript

options

  • first argument will be component name
  • --dir default it will create files at root directory if you specified --dir name then it will create files at specific directory.
  • --typescript it will generate .ts/.tsx files

FAQs

Last updated on 09 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc