UNPKG

@hello.nrfcloud.com/proto

Version:

Documents the communication protocol between the hello.nrfcloud.com backend and the web application

6 lines (4 loc) 208 B
export const isFingerprint = (fingerprint?: string): fingerprint is string => fingerprintRegExp.test(fingerprint ?? '') export const fingerprintRegExp = /^[A-F0-9]{1,}\.[ABCDEFGHIJKMNPQRSTUVWXYZ2-9]{6}$/i