object-fingerprint

1.1.2 • 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

/object-fingerprint/

    Package Sidebar

    Install

    npm i object-fingerprint

    Weekly Downloads

    11

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    9.16 kB

    Total Files

    5

    Last publish

    Collaborators

    • maxcam