1.0.5 • Published 7 years ago

json-hashable v1.0.5

Weekly downloads
37
License
MIT
Repository
github
Last release
7 years ago

Hashable JSON

Build Status Coverage Status

Introduction

A stable hashable JSON


Install

npm install --save json-hashable

Usage

import hashable from "json-hashable";
import md5 from "md5";

const objA = md5(hashable({ b: "bbb", a: { c: "ccc", d: "ddd" } }));
const objB = md5(hashable({ a: { d: "ddd", c: "ccc" }, b: "bbb" }));

return objA === objB;

Any feedbacks or contributions are welcome!

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago