{"id":27243427,"url":"https://github.com/dalee/msisdn-formatter","last_synced_at":"2025-07-06T19:09:02.195Z","repository":{"id":57304389,"uuid":"61965705","full_name":"Dalee/msisdn-formatter","owner":"Dalee","description":"Russian msisdn normalizer and formatter","archived":false,"fork":false,"pushed_at":"2020-04-17T19:12:26.000Z","size":110,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-15T20:50:32.142Z","etag":null,"topics":["msisdn","msisdn-formatter","russian","russian-specific"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dalee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-25T23:30:05.000Z","updated_at":"2023-04-05T05:00:21.000Z","dependencies_parsed_at":"2022-08-27T03:07:01.463Z","dependency_job_id":null,"html_url":"https://github.com/Dalee/msisdn-formatter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Dalee/msisdn-formatter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fmsisdn-formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fmsisdn-formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fmsisdn-formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fmsisdn-formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dalee","download_url":"https://codeload.github.com/Dalee/msisdn-formatter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fmsisdn-formatter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263957845,"owners_count":23535605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["msisdn","msisdn-formatter","russian","russian-specific"],"created_at":"2025-04-10T20:36:54.163Z","updated_at":"2025-07-06T19:09:02.174Z","avatar_url":"https://github.com/Dalee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# msisdn-formatter\n\n[![Build Status](https://travis-ci.org/Dalee/msisdn-formatter.svg?branch=master)](https://travis-ci.org/Dalee/msisdn-formatter)\n[![codecov](https://codecov.io/gh/Dalee/msisdn-formatter/branch/master/graph/badge.svg)](https://codecov.io/gh/Dalee/msisdn-formatter)\n[![Dependencies](https://david-dm.org/Dalee/msisdn-formatter.svg)](https://david-dm.org/Dalee/msisdn-formatter)\n\nTwo simple function to normalize and format msisdn.\n\n## Install\n\n```\n$ npm install msisdn-formatter --save\n```\n\n## Usage\n\n```js\nimport { clean, pretty } from 'msisdn-formatter';\n\nconst userNumber = '+7 926 000-00-00';\n\nconsole.log(clean(userNumber)); // Prints: '9260000000'\nconsole.log(pretty(userNumber, 'full')); // Prints: '+7 (926) 000-0000'\n```\n\nAvailable formats:\n- clean: *79260000000*\n- cleaner: *9260000000*\n- short: *926 000-0000*\n- usual: *(926) 000-0000*\n- full: *+7 (926) 000-0000*\n\nThe library is built to support AMD, CommonJS and globals.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalee%2Fmsisdn-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalee%2Fmsisdn-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalee%2Fmsisdn-formatter/lists"}