UNPKG

libphonenumber-js

Version:

A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript

12 lines (9 loc) 428 B
// Importing from a ".js" file is a workaround for Node.js "ES Modules" // importing system which is even uncapable of importing "*.json" files. import metadata from '../../../metadata.max.json.js' import { PhoneNumberMatcher as _PhoneNumberMatcher } from '../../../core/es6/index.js' export class PhoneNumberMatcher extends _PhoneNumberMatcher { constructor(text, options) { super(text, options, metadata) } }