# standard-log-remote

> remote logging for `standard-log`

Latest version **13.3.0** (published 2026-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install standard-log-remote
pnpm add standard-log-remote
yarn add standard-log-remote
bun add standard-log-remote
```

## 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 | 13.3.0 |
| Published | 2026-09-07 |
| First published | 2022-11-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 8 |
| Author | Homa Wong |
| Maintainers | unional |

## Links

- npm: https://www.npmjs.com/package/standard-log-remote
- Repository: https://github.com/cyberuni/standard-log
- Homepage: https://github.com/cyberuni/standard-log/tree/main/packages/remote
- Issues: https://github.com/cyberuni/standard-log/issues
- npm.io page: https://npm.io/package/standard-log-remote

## Dependencies (1)

- [cross-fetch](https://npm.io/package/cross-fetch.md) ^4.0.0

## Recent versions

- 13.3.0 (latest) — 2026-09-07
- 13.2.0 — 2026-09-07
- 13.1.0 — 2026-09-07
- 13.0.2 — 2026-09-02
- 13.0.1 — 2026-09-01
- 13.0.0 — 2026-09-01
- 12.1.2 — 2023-06-13
- 12.1.1 — 2023-04-22
- 12.1.0 — 2023-04-17
- 12.0.5 — 2023-04-15
- 12.0.4 — 2023-04-15
- 12.0.3 — 2023-04-14
- 12.0.2 — 2023-04-13
- 12.0.1 — 2023-04-13
- 12.0.0 — 2023-04-13
- … 7 more at https://npm.io/package/standard-log-remote/versions

## README

# standard-log-remote

[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]

[![Codecov][codecov-image]][codecov-url]

[![Visual Studio Code][vscode-image]][vscode-url]

Sending logs to remote service for [standard-log].

## Install

```sh
npm i standard-log-remote
yarn add standard-log-remote
pnpm add standard-log-remote
rust add standard-log-remote
```

## Usage

```ts
import { createStandardLog } from 'standard-log'
import { createRemoteLogReporter } form 'standard-log-remote'

const standardLog = createStandardLog({
  reporters: [createRemoteLogReporter({ url: '...', requestInit: {...} })]
})

const log = standardLog.getLogger('my logger')
log.info('to the remote service!')
```

## Security

Note that logs sent from browser can be intercept an potentially be modified through man-in-the-middle.
To mitigate the risk, you can:

1. Encrypt the message using `formatter`.
2. Do not persist these logs or store them with strict space control
3. Treat them as direct inputs, do not trust any message saved.
4. Should not return these logs back to the user.
5. Define convension and strict control of the format of the logs

The raw logs collected should be treated differently then those generated on the server.
They should not be returned to the user in the form of log reports,
or else your application is subject to Log Injection/Forging and related attacks.


[codecov-image]: https://codecov.io/gh/cyberuni/standard-log/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/cyberuni/standard-log
[downloads-image]: https://img.shields.io/npm/dm/standard-log-remote.svg?style=flat
[downloads-url]: https://npmjs.org/package/standard-log-remote
[npm-image]: https://img.shields.io/npm/v/standard-log-remote.svg?style=flat
[npm-url]: https://www.npmjs.com/package/standard-log-remote
[standard-log]: https://github.com/cyberuni/standard-log
[vscode-image]: https://img.shields.io/badge/vscode-ready-green.svg
[vscode-url]: https://code.visualstudio.com/

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