2.0.3 • Published 2 years ago

cutaway v2.0.3

Weekly downloads
5
License
ISC
Repository
github
Last release
2 years ago

about

Provides HTML mirroring of browser console logs. Intrusively somewhat console.log() is redeclared in order to echo the original output inside of a <pre> tag added at the very top of the document.body containing the script carrying out the logging. Ties in nicely with tapeless and kpow for client side TAP reporting.

setup

Download from the npm registry:

# Add to package.json
npm install cutaway

Source from an import map to use with Deno or in-browser directly:

{
  "imports": {
    "cutaway": "https://thewhodidthis.github.io/cutaway/main.js"
  }
}

usage

Include for side effects only. For example,

// Just an iife
import "https://esm.sh/cutaway@2.0.1"

// Say hi in HTML
console.log("coucou")

see also

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

1.0.3

4 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

7 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago