(text: string)
| 23 | const isUrlAnIp = (baseUrl: string) => /^(?!0)(?!.*\.$)((1?\d?\d|25[0-5]|2[0-4]\d)(\.|$)){4}$/.test(baseUrl); |
| 24 | |
| 25 | const textToData = (text: string) => new TextEncoder().encode(text); |
| 26 | |
| 27 | export const dataToText = (data: Uint8Array) => new TextDecoder().decode(data); |
| 28 |
no outgoing calls
no test coverage detected