funkcja
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

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

Package Sidebar

Install

npm i funkcja

Weekly Downloads

1

Version

0.0.9

License

MIT

Unpacked Size

5.49 kB

Total Files

9

Last publish

Collaborators

  • jmaczan