MCPcopy Create free account
hub / github.com/Hashnode/starter-kit / _getBlurHash

Function _getBlurHash

packages/utils/renderer/image.ts:107–112  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

105};
106
107const _getBlurHash = (src) => {
108 if (src && src.indexOf('?') === -1) {
109 return `${src}?fm=blurhash`;
110 }
111 return `${src}&fm=blurhash`;
112};
113
114exports.getBlurHash = _getBlurHash;
115

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected