{"id":16758401,"url":"https://github.com/kessler/tokenize","last_synced_at":"2025-06-16T02:08:25.369Z","repository":{"id":57124446,"uuid":"165368426","full_name":"kessler/tokenize","owner":"kessler","description":"personal tokenize util","archived":false,"fork":false,"pushed_at":"2020-04-15T14:32:56.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T16:08:02.109Z","etag":null,"topics":["nodejs","nodejs-modules","tokenizer"],"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/kessler.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-01-12T09:11:26.000Z","updated_at":"2023-12-10T15:30:52.000Z","dependencies_parsed_at":"2022-08-31T17:00:59.619Z","dependency_job_id":null,"html_url":"https://github.com/kessler/tokenize","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kessler/tokenize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftokenize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftokenize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftokenize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftokenize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kessler","download_url":"https://codeload.github.com/kessler/tokenize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Ftokenize/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260083863,"owners_count":22956409,"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":["nodejs","nodejs-modules","tokenizer"],"created_at":"2024-10-13T04:05:10.354Z","updated_at":"2025-06-16T02:08:25.315Z","avatar_url":"https://github.com/kessler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tokenize\n\n**personal tokenize util**\n\n## example\n\n`npm i -S @kessler/tokenize`\n\n```js\nconst tokenize = require('@kessler/tokenize')\n\nlet tokens1 = tokenize('text')\n\n// with non default tokenization rules\nconst rules = {\n    tokenChars: ['(', ')', ',', '[', ']'],\n    globbingChars:  ['\"', '\\''],\n    separators: [' ']\n}\n\nlet tokens2 = tokenize('(text) \"asd\" blabla', rules)\n```\n\n## license\n\n[MIT](http://opensource.org/licenses/MIT) © Yaniv Kessler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Ftokenize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkessler%2Ftokenize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Ftokenize/lists"}