Skip to content

Normally/cabin-script

Repository files navigation

Cabin client script

This is the client script for withcabin.com - Privacy-first, carbon-aware web analytics.

The script is accessible via CDN at https://scripts.withcabin.com/hello.js

Version number file size in bytes file size in bytes file size in bytes

yarn dev - run a dev server and visit localhost:8000 to test the script locally

yarn min - minify the script to /dist with terser

yarn deploy - deploy to CDN and invalidate cache

Note: This script is written with a tacit knowledge of terser compression and mangle. Some of the script may look unusual but it is written to be compressed as effectively as possible to reduce file size.

About

Privacy-first, carbon-aware web analytics.

Resources

License

Stars

Watchers

Forks