Jedrzej Pawel Maczan

funkcja: log function body and name to browser's console

Hi, I published funkcja today.

Pass the function to funkcja and it will print its body and name.


You can find it useful for JavaScript debugging purposes, for example when you need to check which function was passed as a callback/prop to a component or when you want to verify exact implementation of dynamically generated function.

Installation and usage should be easy - run:

npm i funkcja

and import the module:

import { funkcja } from "funkcja";

I wish successfull debugging :)

The image of source code in this post was generated with

Links: GitLab, npm