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

debug-flow

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debug-flow

Debugging utility for lodash/fp flow (pipe) and compose (backflow, flowRight)

  • 1.0.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by25%
Maintainers
1
Weekly downloads
 
Created
Source

debug-flow

Debugging utility for lodash/fp flow (pipe) and compose (backflow, flowRight)

Usage

// change your code from this:
const nameDan = flow([
  set('name', 'Dan')
]);
// to this:
const nameDan = debug(flow)({ label: 'nameDan', break: true })([
  set('name', 'Dan')
]);

Options

  • break (boolean) Break on each statement to evaluate in the console
  • label (string) Give a name to the flow to use in it's logs

Credits

  • @morsdyce for coming up with the idea for this package and implementing the POC
  • 500Tech for sponsoring the development of this package

Keywords

FAQs

Package last updated on 20 Jun 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