MCPcopy Index your code
hub / github.com/nodejs/node / normalizeAlgorithm

Function normalizeAlgorithm

lib/internal/crypto/hash.js:80–82  ·  view source on GitHub ↗

* @param {string} name * @returns {string}

(name)

Source from the content-addressed store, hash-verified

78 * @returns {string}
79 */
80function normalizeAlgorithm(name) {
81 return StringPrototypeReplace(StringPrototypeToLowerCase(name), '-', '');
82}
83
84const maybeEmitDeprecationWarning = getDeprecationWarningEmitter(
85 'DEP0198',

Callers 1

hash.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…