1.0.0 • Published 8 years ago

fauxet v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago
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
1.0.0

8 years ago