New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

flowde

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flowde

Run Flow code in node.

  • 1.1.0
  • latest
  • npm
  • Socket score

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

Flowde

Run JavaScript written in Flow through Node.

  • Type checks your code before executing it.
  • Will automatically create an empty, temporary .flowconfig file if one doesn't exist and cleans up after itself.
  • Uses Babel presets env and stage-0 so you can use anything you want.

Why?

Many times you don't want to set up a build process simply to run scripts in node, but you do want to reap the benefits of static typing. In this case, static typing can catch many bugs that would otherwise go unnoticed and since you're probably not writing tests for your scripts, it can be immensely helpful in being productve.

Getting started

Flode works both locally and globally, as long as you have your CWD in your PATH.

npm install flowde

Usage is the same as with node:

flowde path/to/my/script.js

There are currently no options.

Notes

  • Remember to add // @flow to the files you want checked.

FAQs

Package last updated on 30 Apr 2018

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