{"id":15911858,"url":"https://github.com/ioedeveloper/split-numeric","last_synced_at":"2026-01-20T11:33:12.349Z","repository":{"id":36561625,"uuid":"228566017","full_name":"ioedeveloper/Split-Numeric","owner":"ioedeveloper","description":"A library that splits a string into an array containing all leading numeric digits as one value and the rest (non-numeric) of the string as the second value.","archived":false,"fork":false,"pushed_at":"2022-12-30T19:21:45.000Z","size":310,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T12:47:51.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ioedeveloper.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":"2019-12-17T08:11:30.000Z","updated_at":"2023-03-09T03:23:41.000Z","dependencies_parsed_at":"2023-01-17T02:38:04.005Z","dependency_job_id":null,"html_url":"https://github.com/ioedeveloper/Split-Numeric","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioedeveloper%2FSplit-Numeric","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioedeveloper%2FSplit-Numeric/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioedeveloper%2FSplit-Numeric/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioedeveloper%2FSplit-Numeric/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioedeveloper","download_url":"https://codeload.github.com/ioedeveloper/Split-Numeric/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767250,"owners_count":20992541,"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":[],"created_at":"2024-10-06T16:01:15.593Z","updated_at":"2026-01-20T11:33:12.316Z","avatar_url":"https://github.com/ioedeveloper.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![travis build](https://travis-ci.org/ioedeveloper/Split-Numeric.svg?branch=master)\n# Split-Numeric\nA javascript library that splits a string into an array containing all leading numeric digits as one value and the rest (non-numeric) of the string as the second value.\n\n# How To Use\n## 1. Install\n`npm install split-numeric`\n## 2. Import\n```\n    // ES6 import\n    import { split as splitNumeric } from 'split-numeric';\n\n    // Older versions\n    const splitNumeric = require('split-numeric').split;\n```\n## 3. Make use (Examples)\n```\n    console.log(splitNumeric(\"20pt10\"));\n    // ['20', 'pt10']\n    \n    console.log(splitNumeric(\"pt10\"));\n    // ['', 'pt10']\n\n    console.log(splitNumeric(\"01\"));\n    // ['01', '']\n\n    console.log(splitNumeric(\"300,5\"));\n    // ['300', ',5']\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioedeveloper%2Fsplit-numeric","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fioedeveloper%2Fsplit-numeric","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioedeveloper%2Fsplit-numeric/lists"}