MCPcopy Create free account
hub / github.com/Musish/Musish / normalizeSring

Function normalizeSring

src/backend/utils.js:6–8  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

4const corsOrigin = '*';
5
6function normalizeSring(s) {
7 return s.toLowerCase().replace(/[^0-9a-z]/gi, '');
8}
9
10const geniusAxios = require('axios').create({
11 baseURL: 'https://api.genius.com',

Callers 1

utils.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected