Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@compilorama/staly
Advanced tools
Privacy-first analytics.
npm install @compilorama/staly --save
Staly is based on Plausible by default, but you can optionally use another service. See Adapters section below to learn more.
import Staly from '@compilorama/staly';
const staly = new Staly();
staly.init('glorious.codes');
staly.trackPageview();
To avoid being tracked by any site using Staly, set analytics
search param as disabled
. Your preference will be set in a cookie and the following visits won't be tracked even without declaring the analytics search param on url.
https://glorious.codes?analytics=disabled
init
/*
** @token: String [required]
** @options: Object [optional]
*/
// Domain registered on Plausible
const token = 'compilorama.com';
// Local development is not tracked by default, but you can make it work by
// setting trackLocalhost option as true on initializaton.
const options = { trackLocalhost: true };
const staly = new Staly();
staly.init(token, options);
trackPageview
staly.trackPageview();
You can optionally use Staly with the following adapters. Click over one of them to get specific instructions:
Install Node. Download the "Recommend for Most Users" version.
Clone the repo:
git clone git@github.com:compilorama/staly.git
cd staly
npm install
npm run build
Ensure that all code that you have added is covered with unit tests:
npm run test -- --coverage
FAQs
Privacy-first analytics
The npm package @compilorama/staly receives a total of 2 weekly downloads. As such, @compilorama/staly popularity was classified as not popular.
We found that @compilorama/staly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.