JSPM

clinks

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q9539F
  • License MIT

patch console APIs to use URL links whenever logging

Package Exports

  • clinks

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (clinks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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