clinks
v1.0.1
Published
patch console APIs to use URL links whenever logging
Downloads
3
Maintainers
Readme
clinks
Simple preload to change the console APIs to include hyperlinks when they are used.
THIS DOES NOT DETECT SUPPORT FOR HYPERLINKS IN YOUR TERMINAL.
THIS IS NOT MEANT TO BE CONSUMED PROGRAMATICALLY BY YOUR APPLICATION CODE.
Usage
npm i clinks
node -r clinks app.js
VSCode has a special protocol for more fine grained line/column support, it is recommended to use that adapter if you want better links if that is your editor.
node -r clinks/vscode app.js