Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-flow-to-gen

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-flow-to-gen

Turn flow definitions into generator functions

  • 0.0.14-0
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-96.15%
Maintainers
1
Weekly downloads
 
Created
Source

Flow to gen

Transforms Flow annotations into TestCheck generators for randomized testing

Motivation

Read this blog post

Demo?

DEMO!

Installing

yarn add babel-plugin-transform-flow-to-gen

and add it to your .babelrc

{
  "presets": ["es-2015"],
  "plugins": ["syntax-flow"],
  "env": {
    "development": {
      "plugins": ["strip-flow-types"]
    },
    "test": {
      "plugins": ["flow-to-gen", "strip-flow-types"]
    }
  }
}

License

MIT

FAQs

Package last updated on 19 Mar 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc