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

Function _getBlurHash

packages/utils/image.ts:11–16  ·  view source on GitHub ↗
(src: string)

Source from the content-addressed store, hash-verified

9};
10
11const _getBlurHash = (src: string) => {
12 if (src && src.indexOf('?') === -1) {
13 return `${src}?fm=blurhash`;
14 }
15 return `${src}&fm=blurhash`;
16};
17
18export const getBlurHash = _getBlurHash;
19

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected