Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/typpo/textbelt
/ stripPhone
Function
stripPhone
server/app.js:25–27 ·
view source on GitHub ↗
(phone)
Source
from the content-addressed store, hash-verified
23
24
// App helper functions.
25
function
stripPhone(phone) {
26
return
(`${phone}`).replace(/\D/g,
''
);
27
}
28
29
function
textRequestHandler(req, res, number, carrier, region) {
30
if
(!number || !req.body.message) {
Callers
1
app.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected