tap-logger

1.2.0 • Public • Published

tap-logger

Installation

npm i tap-logger

Test and Dev

npm run test & npm run watch

Usage

const tap = require('./index')
tap('algo')//logs and returns "algo" 
tap('hola', 'mundo')//logs "'hola' , 'mundo'" and returns "mundo" 
tap.c(5)('algo')//logs '5, "algo"' and returns "algo" 
tap.ap(s => s.split(), 'algo')//logs ['a','l','g','o']' and returns "algo" 
tap.hola()//logs "hola"
tap.start()//logs "\n.\n..\n...\n....\n.....\n......\n.......\n........\nStarting:....\n"
tap.end()//logs "\nEnding:....\n........\n.......\n......\n.....\n....\n...\n..\n.\n"

/tap-logger/

    Package Sidebar

    Install

    npm i tap-logger

    Weekly Downloads

    0

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    4.01 kB

    Total Files

    6

    Last publish

    Collaborators

    • diegovdc