Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
Inbestigator/analyticsAnalytics you can trust.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
a year ago (0.3.1)
Capture
Capture is a tiny (3kb gzipped!) but capable analytics platform that allows you to capture and fetch analytical data. It provides a simple and intuitive way to manage analytical logging and user recognition.
Features
- Capture Logs: Create data captures for different events. Captures can be used to store analytical data.
- Re-capturing: Get all of your captures with one call.
- Release: Delete captured events
- User Fingerprinting: Identify users across multiple sessions
Getting Started
To get started with Capture, follow these steps:
- Go to our website and create a new project
- Copy your keys and project id
- Follow the installation instructions for your runtime on the JSR page
- Create a new Capture client
import CaptureClient from "@capture/analytics"; const analytics = new CaptureClient({ projectId: "", key: "", // Can be either public or private, private should not be exposed to the frontend });
Contributing
Contributions are welcome! If you'd like to contribute to Capture, please fork the repository and submit a pull request.
License
Capture is licensed under the MIT License.
Built and signed on
GitHub Actions
Add Package
deno add jsr:@capture/analytics
Import symbol
import * as analytics from "@capture/analytics";
Import directly with a jsr specifier
import * as analytics from "jsr:@capture/analytics";
Add Package
pnpm i jsr:@capture/analytics
pnpm dlx jsr add @capture/analytics
Import symbol
import * as analytics from "@capture/analytics";
Add Package
yarn add jsr:@capture/analytics
yarn dlx jsr add @capture/analytics
Import symbol
import * as analytics from "@capture/analytics";
Add Package
vlt install jsr:@capture/analytics
Import symbol
import * as analytics from "@capture/analytics";
Add Package
npx jsr add @capture/analytics
Import symbol
import * as analytics from "@capture/analytics";
Add Package
bunx jsr add @capture/analytics
Import symbol
import * as analytics from "@capture/analytics";