{"id":29961850,"url":"https://github.com/krisajenkins/purescript-formatting","last_synced_at":"2025-08-03T23:43:34.108Z","repository":{"id":21298238,"uuid":"87166395","full_name":"krisajenkins/purescript-formatting","owner":"krisajenkins","description":"A type-safe, composable, printf-alternative for PureScript.","archived":false,"fork":false,"pushed_at":"2022-12-06T11:32:32.000Z","size":359,"stargazers_count":10,"open_issues_count":9,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-12T01:46:02.468Z","etag":null,"topics":["purescript"],"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/krisajenkins.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":"2017-04-04T09:00:17.000Z","updated_at":"2020-12-27T16:19:53.000Z","dependencies_parsed_at":"2022-08-07T10:00:17.105Z","dependency_job_id":null,"html_url":"https://github.com/krisajenkins/purescript-formatting","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/krisajenkins/purescript-formatting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2Fpurescript-formatting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2Fpurescript-formatting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2Fpurescript-formatting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2Fpurescript-formatting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisajenkins","download_url":"https://codeload.github.com/krisajenkins/purescript-formatting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisajenkins%2Fpurescript-formatting/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268629828,"owners_count":24281172,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"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":["purescript"],"created_at":"2025-08-03T23:43:25.258Z","updated_at":"2025-08-03T23:43:33.966Z","avatar_url":"https://github.com/krisajenkins.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Formatting\n\n[![Build Status](https://travis-ci.org/krisajenkins/purescript-formatting.svg?branch=master)](https://travis-ci.org/krisajenkins/purescript-formatting)\n\nA type-safe string formatting library, based on [Chris Done's Haskell version](https://hackage.haskell.org/package/formatting).\n\nIt fulfils the need for string-interpolation or a `printf` function,\nwithout sacrificing type safety or requiring any special\nlanguage-level support.\n\nIt also composes well, making it easy to build up complex, reusable formatters.\n\n## Documentation\n\nModule documentation is published on Pursuit: [http://pursuit.purescript.org/packages/purescript-formatting](http://pursuit.purescript.org/packages/purescript-formatting)\n\n## Credits\n\nThis package is a port of [Chris Done's Formatting][formatting] library for\nHaskell.\n\n[formatting]: http://chrisdone.com/posts/formatting\n\n## Contributing\n\nMore specialised formatters (like \"print to a certain number of\ndecimal places\") would be welcome.\n\nFor more advanced help, I have a suspicion that `before` and `after`\nhave a proper home in some category somewhere, and I'd like to find\nout where it is. Also, I suspect we can relax the composition\nrestraint from `Format String` to `forall m. Semigroupoid m =\u003e Format m`.\nIf you know how, I'd love your input.\n\n## See Also\n\nA port of this library is also [available for Elm](http://package.elm-lang.org/packages/krisajenkins/formatting/latest).\n\n## License\n\nCopyright © 2017 Kris Jenkins\n\nDistributed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisajenkins%2Fpurescript-formatting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisajenkins%2Fpurescript-formatting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisajenkins%2Fpurescript-formatting/lists"}