📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
{
"name": "swetrix",
"version": "4.8.0",
"description": "The JavaScript analytics client for Swetrix Analytics",
"keywords": [
"analytics",
"metrics",
"monitoring",
"privacy",
"swetrix"
],
"homepage": "https://swetrix.com/docs",
"bugs": {
"url": "https://github.com/Swetrix/swetrix/issues"
},
"license": "MIT",
"author": "Andrii Romasiun, Swetrix Ltd. <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/Swetrix/swetrix.git"
},
"funding": "https://github.com/sponsors/Swetrix",
"type": "module",
"main": "dist/swetrix.cjs.js",
"module": "dist/swetrix.es5.js",
"browser": "dist/swetrix.js",
"typings": "dist/esnext/index.d.ts",
"esnext": "dist/esnext/index.js",
"exports": {
".": {
"import": "./dist/esnext/index.js",
"require": "./dist/swetrix.cjs.js",
"types": "./dist/esnext/index.d.ts",
"default": "./dist/swetrix.js"
}
},
"scripts": {
"prebuild": "rimraf dist",
"prepublish": "npm run build",
"build": "rollup -c && npm run tsc",
"start": "rollup -c -w",
"tsc": "tsc -p tsconfig.esnext.json",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"dependencies": {
"@rrweb/record": "2.1.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@types/jest": "^30.0.0",
"@types/node": "^26.1.2",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"rimraf": "^6.1.3",
"rollup": "^4.62.3",
"ts-jest": "^29.4.12",
"tslib": "^2.8.1",
"typescript": "^5.9.3"
},
"devEngines": {
"runtime": {
"name": "node",
"onFail": "error",
"version": ">=22"
}
}
}