(value: string | Uint8Array)
| 22 | `${JSON.stringify(sortJsonKeys(value), null, '\t')}\n`; |
| 23 | |
| 24 | export const sha256 = (value: string | Uint8Array): string => |
| 25 | hash('sha256', value); |
| 26 | |
| 27 | export const readJson = async (path: string): Promise<unknown> => |
| 28 | JSON.parse(await readFile(path, 'utf8')); |
no outgoing calls