@sendanor/cloud-common

1.0.1 • Public • Published

Common files for Sendanor's cloud framework

Install: npm install --save '@sendanor/cloud-common

createBodyIDs() -- Create unique identifier based on object content

This function creates unique IDs for cloud objects based on their content.

import { createBodyIDs } from '@sendanor/cloud-common';

let body = {
  hello: "world"
};
let id, hash;
[id, hash] = createBodyIDs(body);

body.$id = id;
body.$hash = hash;

/@sendanor/cloud-common/

    Package Sidebar

    Install

    npm i @sendanor/cloud-common

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.75 kB

    Total Files

    4

    Last publish

    Collaborators

    • jhh