@tinycatch/browser-script

1.0.20 • Public • Published

browser-script

For folks that want to use the script tag to load the browser script.

  <script
    data-key={API_TOKEN}
    data-url={API_URL}
    data-version={GIT_COMMIT_SHA || "1.0.0"}
    data-environment={ENVIRONMENT}
    src={'https://unpkg.com/@tinycatch/browser-script@1.0.12/dist/browser-script.js'}
  />

CDN

We use unpkg to serve the browser script.

Example:

https://unpkg.com/@tinycatch/browser-script@1.0.12/dist/browser-script.js

Notes

This doesn't change much, the core logic is within ../shared-browser.

Readme

Keywords

none

Package Sidebar

Install

npm i @tinycatch/browser-script

Weekly Downloads

0

Version

1.0.20

License

ISC

Unpacked Size

6.25 kB

Total Files

4

Last publish

Collaborators

  • sthakur