# better-serialize

> A better way to serialize

Latest version **2.0.0** (published 2024-04-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install better-serialize
pnpm add better-serialize
yarn add better-serialize
bun add better-serialize
```

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2024-04-23 |
| First published | 2023-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 0 |
| Unpacked size | 64 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Hezekiah Hendry <hezekiah.hendry@gmail.com> |
| Maintainers | realshadownova |

## Links

- npm: https://www.npmjs.com/package/better-serialize
- Repository: https://github.com/RealShadowNova/better-serialize
- Issues: https://github.com/RealShadowNova/better-serialize/issues
- npm.io page: https://npm.io/package/better-serialize

## Recent versions

- 2.0.0 (latest) — 2024-04-23
- 2.0.1-next.73584e0 (next) — 2025-11-02
- 2.0.1-next.4c4be72 — 2025-09-28
- 2.0.1-next.639a7b6 — 2025-09-14
- 2.0.1-next.69097d3 — 2025-09-14
- 2.0.1-next.a0dcbd3 — 2025-08-24
- 2.0.1-next.9591028 — 2025-08-17
- 2.0.1-next.d4d789f — 2025-08-17
- 2.0.1-next.55c71e7 — 2025-08-10
- 2.0.1-next.5cd3918 — 2025-08-10
- 2.0.1-next.5a7538f — 2025-07-27
- 2.0.1-next.e060f92 — 2025-07-06
- 2.0.1-next.c13d896 — 2025-06-29
- 2.0.1-next.a363a45 — 2025-06-15
- 2.0.1-next.8ef81a6 — 2025-06-08
- … 146 more at https://npm.io/package/better-serialize/versions

## README

<div align="center">

# Better Serialize

**A better way to serialize**

[![GitHub](https://img.shields.io/github/license/RealShadowNova/better-serialize)](https://github.com/RealShadowNova/better-serializeblob/main/LICENSE.md)
[![npm](https://img.shields.io/npm/v/better-serialize?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/better-serialize)
[![codecov](https://codecov.io/gh/RealShadowNova/better-serialize/branch/main/graph/badge.svg)](https://codecov.io/gh/RealShadowNova/better-serialize)

[![Support Server](https://discord.com/api/guilds/554742955898961930/embed.png?style=banner2)](https://discord.gg/fERY6AenEv)

</div>

---

## Description

A better way to serialize Node.js data types to and from a JSON compatible format.

## Features

- Written in TypeScript
- Offers CommonJS and ESM
- Fully tested

## Installation

You can use the following command to install this package, or replace `npm install` with your package manager of choice.

```sh
npm install better-serialize
```

## Quick Start

```typescript
import { stringify, parse } from 'better-serialize';

stringify('Hello World!'); // '{type:8,value:"Hello World!"}'

parse('{t:8,v:"Hello World!"}'); // 'Hello World!'
```

## Documentation

While currently we do not have a dedicated way to view documentation for this package, you can still use the intellisense from your IDE and read our source code.

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