npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

eodin-web

v1.0.0-beta.1

Published

Eodin SDK for Web - Pure analytics SDK (5번째 채널). 4채널 (Flutter / iOS / Android / Capacitor) 와 의미 parity.

Readme

eodin-web

Eodin SDK for Web — pure analytics SDK (5번째 채널, 4채널 mobile SDK 와 의미 parity).

본 패키지는 Eodin SDK monorepo (ahn283/eodin-sdk) 의 5번째 채널입니다. 4채널 (Flutter / iOS / Android / Capacitor) 는 본 저장소의 다른 packages/* 디렉토리에서 관리됩니다.

설치

npm install eodin-web

빠른 시작

import { EodinAnalytics, EodinEvent } from 'eodin-web';

await EodinAnalytics.configure({
  apiEndpoint: 'https://api.eodin.app/api/v1',
  apiKey: '<your-api-key>',
  appId: '<your-app-id>',
  autoTrackPageView: true,    // SPA 라우팅 자동 page_view (history API + popstate)
});

await EodinAnalytics.track(EodinEvent.AppOpen);
await EodinAnalytics.track('custom_event', { foo: 'bar' });

Public surface

// Lifecycle
await EodinAnalytics.configure(options);
await EodinAnalytics.track(eventName, properties?);
await EodinAnalytics.flush();
await EodinAnalytics.startSession();
await EodinAnalytics.endSession();

// Identity
EodinAnalytics.identify(userId);
EodinAnalytics.clearIdentity();
EodinAnalytics.setAttribution({ utmSource: 'google', utmMedium: 'cpc' });

// Status getters (TS property syntax — Flutter / iOS parity)
EodinAnalytics.deviceId;       // string | null
EodinAnalytics.userId;         // string | null
EodinAnalytics.sessionId;      // string | null
EodinAnalytics.attribution;    // Attribution | null
EodinAnalytics.isEnabled;      // boolean
await EodinAnalytics.getStatus();   // AnalyticsStatus { configured, enabled, queueSize, isOnline }

// GDPR (Phase 1.7 4채널 parity)
await EodinAnalytics.setEnabled(true | false);
await EodinAnalytics.requestDataDeletion();

의도적 비대칭 (5채널 documented asymmetry)

  • ATT 메서드 (requestTrackingAuthorization / getATTStatus / setDeviceATT) — iOS-only OS 기능. web 에 미노출 (compile-time error 로 호스트 잘못된 호출 차단)
  • Deeplink — 4채널 SDK 만 deeplink 모듈 보유. web 의 click capture 는 link.eodin.app/{service}/{id} redirect URL 사용 권장

자세한 5채널 비교: docs/web-sdk/parity-matrix-5ch.md. PRD: docs/web-sdk/PRD.md.

빌드 / 테스트

# monorepo root 에서
npm -w eodin-web run build
npm -w eodin-web test
npm -w eodin-web run docs   # TypeDoc API reference

라이선스

MIT