{"id":13760573,"url":"https://github.com/werner/crystal_on_steroids","last_synced_at":"2025-04-08T12:31:56.230Z","repository":{"id":143392287,"uuid":"52109838","full_name":"werner/crystal_on_steroids","owner":"werner","description":"A group of methods to make Crystal more programmer friendly (extracted from Rails ActiveSupport, Powerpack and others)","archived":false,"fork":false,"pushed_at":"2020-01-24T21:00:17.000Z","size":263,"stargazers_count":49,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T12:32:52.055Z","etag":null,"topics":["activesupport","crystal","extensions","friendly","happiness","programmer-friendly","web"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/werner.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}},"created_at":"2016-02-19T19:05:33.000Z","updated_at":"2024-07-19T06:24:54.000Z","dependencies_parsed_at":"2024-01-15T03:55:46.508Z","dependency_job_id":"c6dfda3f-c039-4e39-8f09-31a54e03390f","html_url":"https://github.com/werner/crystal_on_steroids","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werner%2Fcrystal_on_steroids","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werner%2Fcrystal_on_steroids/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werner%2Fcrystal_on_steroids/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werner%2Fcrystal_on_steroids/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/werner","download_url":"https://codeload.github.com/werner/crystal_on_steroids/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247842699,"owners_count":21005330,"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":["activesupport","crystal","extensions","friendly","happiness","programmer-friendly","web"],"created_at":"2024-08-03T13:01:13.244Z","updated_at":"2025-04-08T12:31:55.957Z","avatar_url":"https://github.com/werner.png","language":"Crystal","funding_links":[],"categories":["Crystal"],"sub_categories":[],"readme":"# Crystal on Steroids [![Build Status](https://travis-ci.org/werner/crystal_on_steroids.png)](https://travis-ci.org/werner/crystal_on_steroids)\n\n\nA group of methods to make Crystal more programmer friendly. Methods taken from Rails ActiveSupport, Powerpack and others.\n\n[Api Docs](https://werner.github.io/crystal_on_steroids/)\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  crystal_on_steroids:\n    github: werner/crystal_on_steroids\n```\n\n## Usage\n\n```crystal\nrequire \"crystal_on_steroids\"\n```\n\n#### Methods\n\n**AliasMethod**\n\n* alias_method\n\n**Object**\n\n* present?\n* presence\n* to_query\n* to_param\n* in?\n* presence_in\n\n**Array**\n\n* second\n* third\n* fourth\n* fifth\n* rest\n* not_last\n* split\n* from\n* to\n* slice\n\n**Hash**\n\n* compact\n* compact!\n\n**Enumerable**\n\n* blank?\n* many?\n* pluck\n* excludes?\n* without\n* avg (average)\n* exactly?\n* frecuencies\n\n**Time**\n\n* prev_day\n* next_day\n* yesterday\n* tomorrow\n* today?\n\n**String**\n\n* remove\n* truncate\n* truncate_words\n* squish\n\n**Int**\n\n* multiple_of?\n* ordinal\n* ordinalize\n\n**Number**\n\n* bytes\n* kilobytes\n* megabytes\n* gigabytes\n* terabytes\n* petabytes\n* exabytes\n\n**Regex**\n\n* match?\n\n**Range**\n\n* overlaps?\n\nMore details in [docs](https://werner.github.io/crystal_on_steroids/)\n\n## Contributing\n\n1. Fork it ( https://github.com/werner/crystal_on_steroids/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- [werner](https://github.com/werner) Werner Echezuría - creator, maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwerner%2Fcrystal_on_steroids","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwerner%2Fcrystal_on_steroids","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwerner%2Fcrystal_on_steroids/lists"}