pharmakon
v3.2.0
Published
Remedy, poison: choose
Downloads
2
Readme
Pharmakon
Remedy, poison: choose
Installation
npm install --save-dev pharmakon
Pharmakon is not suitable for production use.
Usage
Either, register the global function as soon a you can.
main.js
import {register} from 'pharmakon'
const {log, u} = register()
log(foo)
eval(u)
Or, import the log, u function when you need it
import {log, u} from 'pharmakon'
log(foo)
eval(u)
TODO
- use boxen full line white path on right brigth var name on left // bright wihite or foo (bright white) at src/foo/bar/index.js:1 (grey)
- spct(elt => elt.id)(elt) // log if met condition (could have)
- return proxy for object and log diff
- refactor condition in switch ?
- check react-blessed treeview to handle expand
alternatives
- https://github.com/ivan7237d/1log
- https://github.com/fullstack-build/tslog
- https://github.com/xpl/ololog