funkcja
v0.0.9
Published
Log function body and name to browser's console.
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
propto 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 funkcjaor
yarn install funkcjaImport
import { funkcja } from 'funkcja';or
const { funkcja } = require("funkcja");License
MIT License
Author
Made in Poland in 2022 by Jedrzej Pawel Maczan
