Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

composition-trace

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

composition-trace

Impure trace function to see what's going on in a composition

Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

What does this function return?

Usage

const trace = require('composition-trace');

var dasherize = compose(join('-'), toLower, trace('after split'), split(' '), replace(/\s{2,}/ig, ' '));
// after split [ 'The', 'world', 'is', 'a', 'vampire' ]

dasherize('The world is a vampire');

For more details, please see https://drboolean.gitbooks.io/mostly-adequate-guide/content/ch5.html#debugging

Alternatives

  • treis
  • tap

Keywords

fp

FAQs

Package last updated on 21 May 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