# effect-analytics

> An Effect library for working with Analytics. Wraps the @analytics/* pluggable analytics library.

Latest version **0.0.2** (published 2023-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install effect-analytics
pnpm add effect-analytics
yarn add effect-analytics
bun add effect-analytics
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-08-11 |
| First published | 2023-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jesse Kelly |
| Maintainers | kellyjesse881 |
| Keywords | typescript |

## Links

- npm: https://www.npmjs.com/package/effect-analytics
- npm.io page: https://npm.io/package/effect-analytics

## Dependencies (4)

- [analytics](https://npm.io/package/analytics.md) ^0.8.9
- [@effect/io](https://npm.io/package/@effect/io.md) ^0.38.0
- [@effect/data](https://npm.io/package/@effect/data.md) ^0.17.1
- [@effect/docgen](https://npm.io/package/@effect/docgen.md) ^0.1.1

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2023-08-11
- 0.0.1 — 2023-08-11

## README

# effect-analytics
An Effect library for working with Analytics. Wraps the @analytics/* pluggable analytics library. 

```ts
import { Effect } from "effect";
import { AnalyticsInstance, Analytics as Instance } from "analytics";
import * as A from "effect-analytics"

const instance = Instance({
  app: "app",
  plugins: [],
});

const program = pipe(
  Effect.sync(() => ({ data: 1 })),
  Effect.tap(x => A.track("test", x)), // sends { data: 1 } w/ tag "test" to configured providers.
  Effect.provideService(Analytics, instance)
);
```

---
_Source: https://npm.io/package/effect-analytics · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
