{"id":17011553,"url":"https://github.com/mebens/strong","last_synced_at":"2025-03-22T16:31:02.194Z","repository":{"id":40005561,"uuid":"1662370","full_name":"mebens/strong","owner":"mebens","description":"A Lua library that makes your strings stronger!","archived":false,"fork":false,"pushed_at":"2022-05-19T04:31:18.000Z","size":51,"stargazers_count":66,"open_issues_count":5,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T13:32:48.603Z","etag":null,"topics":["lua","lua-library","string-manipulation"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mebens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-26T00:05:19.000Z","updated_at":"2024-11-27T18:39:13.000Z","dependencies_parsed_at":"2022-07-27T03:47:22.768Z","dependency_job_id":null,"html_url":"https://github.com/mebens/strong","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mebens%2Fstrong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mebens%2Fstrong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mebens%2Fstrong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mebens%2Fstrong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mebens","download_url":"https://codeload.github.com/mebens/strong/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244986446,"owners_count":20543012,"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":["lua","lua-library","string-manipulation"],"created_at":"2024-10-14T06:07:24.337Z","updated_at":"2025-03-22T16:31:01.906Z","avatar_url":"https://github.com/mebens.png","language":"Lua","readme":"# Description\n\nStrong is a small Lua library that adds a lot of utilities to Lua's [string library](http://www.lua.org/manual/5.1/manual.html#5.4), and also adds some operators to strings themselves. It is currently at version 1.0.4.\n\nStrong is based largely on Ruby's [String class](http://www.ruby-doc.org/core/classes/String.html). I've also taken a few things from [thelinx](http://github.com/thelinx)'s [extensions](https://github.com/TheLinx/loveclass/blob/master/stringextensions.lua) to strings.\n\n## The Name\n\nAs you might have guessed, the name \"strong\" was chosen because it's very close to \"string\", and because this library makes strings stronger :).\n\n# Features/Documentation\n\nTo get an idea of, or documentation for, strong's features, take a look at the [wiki](https://github.com/BlackBulletIV/strong/wiki). Over there you can find the [function reference](https://github.com/BlackBulletIV/strong/wiki/Function-reference), and documentation for [string indexing](https://github.com/BlackBulletIV/strong/wiki/String-Indexing) and the [operators](https://github.com/BlackBulletIV/strong/wiki/Operators).\n\n# Example\n\nA quick example of a few of the features.\n\n``` lua\ns = \"Hello world.\\nBoo. This is cool.\\nHey!\"\n\nfor line in s:lines() do\n  for _, s in pairs(line / ' ')\n    print(s:capitalize())\n  end\nend\n```\n\n# Tests\n\nThe tests are done using [telescope](https://github.com/norman/telescope). Have a look at the [README](https://github.com/norman/telescope#readme) for that repository to see how to install telescope. Once you've done that, just run `tsc spec.lua`. Of course if you want to see the results of every test, you can run `tsc -f spec.lua`.\n\n# Contributors\n\n* [Robin Wellner](http://gvxdev.wordpress.com/) helped to improve performance of `insert` and also added a couple new abilities to that method.\n* [kikito](http://github.com/kikito) provided a much better implementation of `squeeze`.\n* [TsT](http://love2d.org/wiki/User:TsT) helped to improve and fix the `split` function and added the modulo operator.\n* [Roland Yonaba](http://yonaba.github.com/) provided the solution to a problem with a couple special pattern characters.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmebens%2Fstrong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmebens%2Fstrong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmebens%2Fstrong/lists"}