MCPcopy
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.
25function stripPhone(phone) {
26 return (`${phone}`).replace(/\D/g, '');
27}
28
29function textRequestHandler(req, res, number, carrier, region) {
30 if (!number || !req.body.message) {

Callers 1

app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected