1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-18 16:30:10 -07:00
Pavlo Buidenkov a3996c7a76 added darkwire.io server and app/client
add client test works
2020-08-30 16:49:23 +03:00

5 lines
143 B
TypeScript

// eslint-disable-next-line import/prefer-default-export
export function sanitize(str: string) {
return str.replace(/[^A-Za-z0-9]/g, '-');
}