funkcja
v0.0.9
Published
Log function body and name to browser's console.
Downloads
21
Maintainers
Readme
funkcja
Log function body and name to browser's console.
Usage
funkcja(mySuperFunction)
Use cases
You can find it especially useful for debugging purposes, for example when:
- you need to check which function was passed as a callback or
prop
to a component - you want to verify exact implementation of dynamically generated function
funkcja
works for both an arrow function () => {}
and a classic function() {}
Installation
npm i funkcja
or
yarn install funkcja
Import
import { funkcja } from 'funkcja';
or
const { funkcja } = require("funkcja");
License
MIT License
Author
Made in Poland in 2022 by Jedrzej Pawel Maczan