object-fingerprint

1.1.1 • Public • Published

object-fingerprint

Just see example:

import fingerprint from "object-fingerprint";

const myObject1 = {
  key1: "pizza",
  key2: ["an", "array"]
};

const myObject1 = {
  key2: ["an", "array"],
  key1: "pizza"
};

const myObject3 = {
    key2: ["array", "an"],
    key1: "pizza"
};

fingerprint(myObject1); // 6afe6f0e
fingerprint(myObject2); // 6afe6f0e
fingerprint(myObject3); // -409427c2

Readme

Keywords

Package Sidebar

Install

npm i object-fingerprint

Weekly Downloads

12

Version

1.1.1

License

MIT

Unpacked Size

9.27 kB

Total Files

5

Last publish

Collaborators

  • maxcam