{"id":15788245,"url":"https://github.com/joellefkowitz/repr","last_synced_at":"2026-02-25T06:39:01.697Z","repository":{"id":119869326,"uuid":"372319943","full_name":"JoelLefkowitz/repr","owner":"JoelLefkowitz","description":"String formatters.","archived":false,"fork":false,"pushed_at":"2024-06-27T18:56:12.000Z","size":496,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-05T21:41:30.670Z","etag":null,"topics":["format","show","strings","trim"],"latest_commit_sha":null,"homepage":"","language":"PureScript","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/JoelLefkowitz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-30T21:37:40.000Z","updated_at":"2024-06-27T18:56:16.000Z","dependencies_parsed_at":"2024-05-06T18:26:40.029Z","dependency_job_id":"ad8ead14-a733-472d-8260-d3574a8ece3d","html_url":"https://github.com/JoelLefkowitz/repr","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/JoelLefkowitz/repr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelLefkowitz%2Frepr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelLefkowitz%2Frepr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelLefkowitz%2Frepr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelLefkowitz%2Frepr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoelLefkowitz","download_url":"https://codeload.github.com/JoelLefkowitz/repr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelLefkowitz%2Frepr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259767269,"owners_count":22908181,"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":["format","show","strings","trim"],"created_at":"2024-10-04T21:41:30.907Z","updated_at":"2026-02-25T06:39:01.690Z","avatar_url":"https://github.com/JoelLefkowitz.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repr\n\nString formatters.\n\n![Review](https://img.shields.io/github/actions/workflow/status/JoelLefkowitz/repr/review.yaml)\n![Version](https://pursuit.purescript.org/packages/purescript-repr/badge)\n![Quality](https://img.shields.io/codacy/grade/fa35b2e4ce8c4223bed24727e42bc0fb)\n\n## Installing\n\n```bash\nspago install repr\n```\n\n## Documentation\n\nDocumentation and more detailed examples are hosted on [Pursuit](https://pursuit.purescript.org/packages/purescript-repr).\n\n## Usage\n\nJoin an `Array` into with a delimiter:\n\n```purs\n\u003e joinWith \", \" [ 1, 2, 3 ]\n\"1, 2, 3\"\n```\n\nFormat a `Map` into a readable (_and debuggable_) format:\n\n```purs\n\u003e kvStrings $ fromFoldable [ Tuple \"a\" 1 , Tuple \"b\" 2 , Tuple \"c\" 3]\n[ \"a: 1\", \"b: 2\", \"c: 3\" ]\n```\n\nTrim substrings:\n\n```purs\n\u003e trimStart \"a\" \"abc\"\n\"bc\"\n\n\u003e trimStart \"d\" \"abc\"\n\"abc\"\n```\n\n```purs\n\u003e trimEnd \"c\" \"abc\"\n\"ab\"\n\n\u003e trimEnd \"d\" \"abc\"\n\"abc\"\n```\n\n## Tooling\n\n### Dependencies\n\nTo install dependencies:\n\n```bash\nyarn install\nyarn spago install\n```\n\n### Tests\n\nTo run tests:\n\n```bash\nyarn spago test\n```\n\n### Documentation\n\nTo generate the documentation locally:\n\n```bash\nyarn spago docs\n```\n\n### Linters\n\nTo run linters:\n\n```bash\nyarn lint\n```\n\n### Formatters\n\nTo run formatters:\n\n```bash\nyarn format\n```\n\n## Contributing\n\nPlease read this repository's [Code of Conduct](CODE_OF_CONDUCT.md) which outlines our collaboration standards and the [Changelog](CHANGELOG.md) for details on breaking changes that have been made.\n\nThis repository adheres to semantic versioning standards. For more information on semantic versioning visit [SemVer](https://semver.org).\n\nBump2version is used to version and tag changes. For example:\n\n```bash\nbump2version patch\n```\n\n### Contributors\n\n- [Joel Lefkowitz](https://github.com/joellefkowitz) - Initial work\n\n## Remarks\n\nLots of love to the open source community!\n\n\u003cdiv align='center'\u003e\n    \u003cimg width=200 height=200 src='https://media.giphy.com/media/osAcIGTSyeovPq6Xph/giphy.gif' alt='Be kind to your mind' /\u003e\n    \u003cimg width=200 height=200 src='https://media.giphy.com/media/KEAAbQ5clGWJwuJuZB/giphy.gif' alt='Love each other' /\u003e\n    \u003cimg width=200 height=200 src='https://media.giphy.com/media/WRWykrFkxJA6JJuTvc/giphy.gif' alt=\"It's ok to have a bad day\" /\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoellefkowitz%2Frepr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoellefkowitz%2Frepr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoellefkowitz%2Frepr/lists"}