Skip to content

Add algorithm 'none' for easy debugging. #106

@EliteMasterEric

Description

@EliteMasterEric

Currently, when I want to debug to see what the string that would be hashed is, I have to run the following:

let output = '';
require('object-hash').writeToStream(input, options, {
  write: (x) => {
    output += x;
  },
});
return output;

It would be convenient if, when the hashing algorithm requested is none or some other placeholder value, the library would simply output the value that would be hashed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions