# serde-fns

> simple shapes and procedures for serde with a pit-of-success

Latest version **1.3.1** (published 2025-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install serde-fns
pnpm add serde-fns
yarn add serde-fns
bun add serde-fns
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

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

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2025-09-12 |
| First published | 2024-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 1 |
| Unpacked size | 20.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | ehmpathy |
| Maintainers | uladkasach |
| Keywords | serde, json, serial, deserialize, serialize |

## Links

- npm: https://www.npmjs.com/package/serde-fns
- Repository: https://github.com/ehmpathy/serde-fns
- Issues: https://github.com/ehmpathy/serde-fns/issues
- npm.io page: https://npm.io/package/serde-fns

## Dependencies (1)

- [type-fns](https://npm.io/package/type-fns.md) 1.17.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.3.1 (latest) — 2025-09-12
- 1.3.0 — 2025-07-08
- 1.2.0 — 2024-12-03
- 1.1.0 — 2024-11-30
- 1.0.0 — 2024-07-28

## README

# serde-fns

![test](https://github.com/ehmpathy/serde-fns/workflows/test/badge.svg)
![publish](https://github.com/ehmpathy/serde-fns/workflows/publish/badge.svg)

simple shapes and procedures for serde with a pit-of-success

# install

```sh
npm install serde-fns
```

# use

for example

```ts
import { isSerialJSON, SerialJSON } from 'serde-fns';

const words = '{"hello":"world"}';
const isValid = isSerialJSON.assess(words);
const json: SerialJSON = isSerialJSON.assure(words);
const obj = deSerialJSON(json)
```

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