# @axiomhq/js

> The official javascript bindings for the Axiom API

Latest version **2.0.0** (published 2026-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @axiomhq/js
pnpm add @axiomhq/js
yarn add @axiomhq/js
bun add @axiomhq/js
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-08-04 |
| First published | 2023-06-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 1 |
| Unpacked size | 545.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | Axiom, Inc. |
| Maintainers | lukasmalkmus, kevinehosford, bahlo, mhr3, seiflotfy, flbn, gordallottaxiom, islamshehata, njpatel |
| Keywords | axiom, api, rest, client, axiom-js, axiom sdk, axiom js, logging |

## Links

- npm: https://www.npmjs.com/package/@axiomhq/js
- Repository: https://github.com/axiomhq/axiom-js
- Homepage: https://github.com/axiomhq/axiom-js/blob/main/packages/js/README.md
- Issues: https://github.com/axiomhq/axiom-js/issues
- npm.io page: https://npm.io/package/@axiomhq/js

## Dependencies (1)

- [fetch-retry](https://npm.io/package/fetch-retry.md) ^6.0.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2026-08-04
- 1.8.0 — 2026-06-29
- 1.7.0 — 2026-06-17
- 1.6.1 — 2026-05-06
- 1.6.0 — 2026-03-30
- 1.5.0 — 2026-03-20
- 1.4.0 — 2026-01-27
- 1.3.1 — 2024-12-16
- 1.3.0 — 2024-11-21
- 1.2.0 — 2024-09-24
- 1.1.1 — 2024-08-15
- 1.1.0 — 2024-07-12
- 1.0.0 — 2024-06-12
- 1.0.0-rc.4 — 2024-06-10
- 1.0.0-rc.3 — 2024-03-20
- … 6 more at https://npm.io/package/@axiomhq/js/versions

## README

# axiom-js

[![Workflow][workflow_badge]][workflow]
[![License][license_badge]][license]

This is a monorepo consisting of the following projects:

* [`@axiomhq/js`](./packages/js): Official API bindings that let you ingest or query your data.
* [`@axiomhq/winston`](./packages/winston): A [winston](https://github.com/winstonjs/winston) transport which sends logs to Axiom.
* [`@axiomhq/pino`](./packages/pino): A [pino](https://github.com/pinojs/pino) transport which sends logs to Axiom.
* [`@axiomhq/tanstack-start`](./packages/tanstack-start): Observability utilities for TanStack Router (SPA) and TanStack Start.

## Requirements

Node.js 20 or higher is required. Node.js 18 is no longer supported.

## License

Distributed under the [MIT License](LICENSE).

<!-- Badges -->

[workflow]: https://github.com/axiomhq/axiom-js/actions/workflows/ci.yml
[workflow_badge]: https://img.shields.io/github/actions/workflow/status/axiomhq/axiom-js/ci.yml?branch=main&ghcache=unused
[license]: https://opensource.org/licenses/MIT
[license_badge]: https://img.shields.io/github/license/axiomhq/axiom-js.svg?color=blue&ghcache=unused

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