objectHash

Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.object

This function allows you to get back an integrity hash of the passed object.

Params

  1. obj*-any

    The object to hash

Return

  1. -String

    The calculated folder hash

Example

import { objectHash } from '@blackbyte/sugar/object';
objectHash({
  hello: 'world'
}); // => YZOrKDx9LCLd8X39PoFTflXGpRU=,

Todo

  • testsnormal