better-serialize
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Better Serialize

A better way to serialize

GitHub npm codecov

Support Server


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.

npm install better-serialize

Quick Start

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.

Readme

Keywords

none

Package Sidebar

Install

npm i better-serialize

Weekly Downloads

270

Version

2.0.0

License

MIT

Unpacked Size

65.6 kB

Total Files

12

Last publish

Collaborators

  • realshadownova