# @stablyhq/stably

> Stably JS SDK for the web

Latest version **1.0.2** (published 2023-03-07) · 0 weekly downloads

## Install

```sh
npm install @stablyhq/stably
pnpm add @stablyhq/stably
yarn add @stablyhq/stably
bun add @stablyhq/stably
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-03-07 |
| First published | 2023-03-07 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 12.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | nwparker787 |

## Links

- npm: https://www.npmjs.com/package/@stablyhq/stably
- Repository: https://github.com/stablyhq/stably-node-sdk-
- Homepage: https://github.com/stablyhq/stably-node-sdk-#readme
- Issues: https://github.com/stablyhq/stably-node-sdk-/issues
- npm.io page: https://npm.io/package/@stablyhq/stably

## Dependencies (2)

- [uuid](https://npm.io/package/uuid.md) ^9.0.0
- [@types/uuid](https://npm.io/package/@types/uuid.md) ^9.0.0

## Recent versions

- 1.0.2 (latest) — 2023-03-07
- 1.0.1 — 2023-03-07

## README

![Stably Banner](./banner.png)

<h1 align="center"><pre>@stablyhq/stably-node-sdk</pre></h1>

<p align="center">
  <a href="https://www.npmjs.com/package/@mux/mux-node"><img src="https://img.shields.io/npm/v/@stablyhq/stably" title="NPM" /></a>
</p>
<p align="center">
  <a href="https://www.npmjs.com/package/@stablyhq/stably">NPM</a>
</p>

# Installation
`npm install @stablyhq/stably --save`
or
`yarn add @stablyhq/stably`

# Usage

**1) Initialize**

```node
import { Analytics } from 'stablyhq/stably'

const analytics = Analytics("YOUR_WRITE_KEY")
```
You can find your write key at https://app.stably.dev/

**2) Call**

Re-use the above analytics instance and call track with your event name:
```node
analytics.track("account_creation_start")
```

# Development
To build, you can run `npm run build`.

To have updated versions sent with the library, you'll want to first run `npm run gen`

To publish, you can run: `npm publish --access public`

# Contributing
Please feel free to open issues or pull requests. We love any feedback!

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