1.0.5 • Published 8 years ago

json-hashable v1.0.5

Weekly downloads
37
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago