Skip to content

RealShadowNova/better-serialize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Better serialization for JSON

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •