Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmaczan/funkcja
🖇️ Log function body and name to browser's console
https://github.com/jmaczan/funkcja
browser debug debugging debugging-tool developer-tools devtools javascript js logging typescript
Last synced: about 1 month ago
JSON representation
🖇️ Log function body and name to browser's console
- Host: GitHub
- URL: https://github.com/jmaczan/funkcja
- Owner: jmaczan
- License: mit
- Created: 2022-03-02T14:29:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T12:52:10.000Z (over 1 year ago)
- Last Synced: 2024-08-13T07:17:39.196Z (4 months ago)
- Topics: browser, debug, debugging, debugging-tool, developer-tools, devtools, javascript, js, logging, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/funkcja
- Size: 386 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
- jimsghstars - jmaczan/funkcja - 🖇️ Log function body and name to browser's console (TypeScript)
README
# `funkcja`
Log function body and name to browser's console.
## Usage
```JS
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
```JS
import { funkcja } from 'funkcja';
```or
```JS
const { funkcja } = require("funkcja");
```## License
MIT License## Author
Made in [Poland](https://en.wikipedia.org/wiki/Poland) in 2022 by [Jedrzej Pawel Maczan](https://maczan.pl/)