{"id":18840231,"url":"https://github.com/maxim2266/trw","last_synced_at":"2025-04-14T07:06:46.955Z","repository":{"id":57552106,"uuid":"176802213","full_name":"maxim2266/trw","owner":"maxim2266","description":"Functional composition of text processing operations.","archived":false,"fork":false,"pushed_at":"2024-03-29T10:48:31.000Z","size":27,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T07:06:41.519Z","etag":null,"topics":["functional-composition","go","golang","golang-library","text-processing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxim2266.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-20T19:21:36.000Z","updated_at":"2024-03-29T10:30:42.000Z","dependencies_parsed_at":"2024-06-20T01:37:03.600Z","dependency_job_id":"851f97df-a335-43b5-b049-b97861630288","html_url":"https://github.com/maxim2266/trw","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Ftrw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Ftrw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Ftrw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Ftrw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxim2266","download_url":"https://codeload.github.com/maxim2266/trw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837279,"owners_count":21169374,"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":["functional-composition","go","golang","golang-library","text-processing"],"created_at":"2024-11-08T02:46:55.718Z","updated_at":"2025-04-14T07:06:46.929Z","avatar_url":"https://github.com/maxim2266.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trw: Text Re-Writer.\n\n[![GoDoc](https://godoc.org/github.com/maxim2266/trw?status.svg)](https://godoc.org/github.com/maxim2266/trw)\n[![Go Report Card](https://goreportcard.com/badge/github.com/maxim2266/trw)](https://goreportcard.com/report/github.com/maxim2266/trw)\n[![License: BSD 3 Clause](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\nPackage `trw` wraps around various text processing functions from the standard\nGo library to allow for functional composition of operations, also minimising\nmemory consumption. [Here](example_test.go) is an example of usage.\n\n### About the package\n\nThe package is most useful in situations where a number of text rewriting\noperations is to be applied sequentially to a large input byte slice. For this scenario the package provides:\n- Functional composition of the existing or user-defined operations that can later be\napplied all at once;\n- Memory optimisation using various techniques to minimise (re)allocations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim2266%2Ftrw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxim2266%2Ftrw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim2266%2Ftrw/lists"}