fauxet

1.0.0 • Public • Published
npm install --save fauxet
import { tap } from 'fauxet';
 
myPromise().then(i => doSomething('foo', tap(i)));
// Logs i to console without having to expand the return statement
// and adding a console.log
import { tap } from 'fauxet';
const myString = 'bar';
tap(myString, 'foo:') // "foo: bar" in the console

Readme

Keywords

none

Package Sidebar

Install

npm i fauxet

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • benjick