$ npm install @nitra/parse-phone --save
or
$ yarn add @nitra/parse-phone
"use strict";
import { parsePhone } from "@nitra/parse-phone";
{
/* ... */
const phone = parsePhone("+7 913 065 89 17");
if (phone) {
/* ... */
}
}
This software is released under the MIT License.