{"id":39689650,"url":"https://github.com/alxpez/parsist","last_synced_at":"2026-01-18T10:04:17.591Z","repository":{"id":57319696,"uuid":"141902761","full_name":"alxpez/parsist","owner":"alxpez","description":"text parser, cleaner and formatter","archived":false,"fork":false,"pushed_at":"2018-07-29T15:18:23.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-06T02:16:41.704Z","etag":null,"topics":["array","cleaner","formatter","list","parser","raw","regexp","string"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/parsist","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alxpez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-22T14:27:40.000Z","updated_at":"2024-01-02T19:55:12.000Z","dependencies_parsed_at":"2022-08-25T21:00:54.543Z","dependency_job_id":null,"html_url":"https://github.com/alxpez/parsist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alxpez/parsist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxpez%2Fparsist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxpez%2Fparsist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxpez%2Fparsist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxpez%2Fparsist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alxpez","download_url":"https://codeload.github.com/alxpez/parsist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxpez%2Fparsist/sbom","scorecard":{"id":187888,"data":{"date":"2025-08-11","repo":{"name":"github.com/alxpez/parsist","commit":"28c4e39c489e054e056436ec45c66221500db9e7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T20:07:39.474Z","repository_id":57319696,"created_at":"2025-08-16T20:07:39.474Z","updated_at":"2025-08-16T20:07:39.474Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["array","cleaner","formatter","list","parser","raw","regexp","string"],"created_at":"2026-01-18T10:04:17.052Z","updated_at":"2026-01-18T10:04:17.584Z","avatar_url":"https://github.com/alxpez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parsist\r\n\u003e Raw text parser, cleaner and formatter\r\n\r\n## Install\r\n```bash\r\nnpm i -s parsist\r\n```\r\n\r\n## Docs\r\n```js\r\nfunction parser(\r\n  raw: string,\r\n  delimiters: string | string[],\r\n  toString: boolean,\r\n  separator: string\r\n): string | string[]\r\n\r\nParse and clean a string of raw items based on the given regex-character delimiters\r\n\r\n@param raw — Raw text/paragraph to parse and clean\r\n@param delimiters — Delimiters must be valid regex characters\r\n@param toString — Whether to get the result as a string or not (return an array of strings)\r\n@param separator — Used as the item separator when returning a string\r\n```\r\n\r\n## Use\r\n```js\r\nimport { parser } from 'parsist'\r\n\r\nlet raw = `\r\n  sample  ,\r\n, raw  .  \r\ntext *  to \r\n  parse\r\n`\r\n\r\nlet delimiter = '[\\\\.\\\\,\\\\n\\\\*\\\\t]'\r\n\r\n// Example 1\r\nconsole.log(\r\n  parser(raw, delimiter, true, '\\n')\r\n)\r\n\r\n// Example 2\r\nconsole.log(\r\n  parser(raw, delimiter, true, ', ')\r\n)\r\n```\r\n\r\nOutputs\r\n```bash\r\nsample\r\nraw\r\ntext\r\nto\r\nparse\r\n```\r\n```bash\r\nsample, raw, text, to, parse\r\n```\r\n\r\n\u003e Check _parsist/sample/index.js_ for specific use cases","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falxpez%2Fparsist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falxpez%2Fparsist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falxpez%2Fparsist/lists"}