Socket
Socket
Sign inDemoInstall

strudel-codemod

Package Overview
Dependencies
287
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    strudel-codemod

Strudel codemod scripts


Version published
Weekly downloads
1
decreased by-75%
Maintainers
4
Install size
18.8 MB
Created
Weekly downloads
 

Readme

Source

strudel-codemod

This repository contains codemod scripts to use with JSCodeshift that help update Strudel.

Usage

npx strudel-codemod <transformer> <path>

Included Transforms

evt-new-syntax

Converts single argument in Evt (e.g., @Evt('click selector')) to multiple argument (e.g., @Evt('click', 'selector')).

npx strudel-codemod evt-new-syntax <path>

Recast Options

Options to recast's printer can be provided through the printOptions command line argument

npx strudel-codemod <transformer> --printOptions='{"quote":"double"}'

License

MIT

FAQs

Last updated on 24 Jul 2019

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