{"id":13816293,"url":"https://github.com/vanshg/KrazyKotlin","last_synced_at":"2025-05-15T15:32:20.509Z","repository":{"id":79497769,"uuid":"93656708","full_name":"vanshg/KrazyKotlin","owner":"vanshg","description":"A collection of useful Kotlin Extension","archived":false,"fork":false,"pushed_at":"2020-07-13T02:27:14.000Z","size":144,"stargazers_count":91,"open_issues_count":0,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-30T09:49:59.175Z","etag":null,"topics":["awesome","extensions","gradle","kotlin","kotlin-extensions","kotlin-library","krazykotlin","productivity-booster","unit-testing"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/vanshg.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":"2017-06-07T16:31:51.000Z","updated_at":"2025-04-11T15:22:06.000Z","dependencies_parsed_at":"2023-07-31T11:15:11.638Z","dependency_job_id":null,"html_url":"https://github.com/vanshg/KrazyKotlin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanshg%2FKrazyKotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanshg%2FKrazyKotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanshg%2FKrazyKotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanshg%2FKrazyKotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanshg","download_url":"https://codeload.github.com/vanshg/KrazyKotlin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254367635,"owners_count":22059547,"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":["awesome","extensions","gradle","kotlin","kotlin-extensions","kotlin-library","krazykotlin","productivity-booster","unit-testing"],"created_at":"2024-08-04T05:00:38.542Z","updated_at":"2025-05-15T15:32:20.238Z","avatar_url":"https://github.com/vanshg.png","language":"Kotlin","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# ![](logo.png)\n\nKrazyKotlin is a collection of useful Kotlin Extension - inspired by [SwifterSwift](https://github.com/SwifterSwift/SwifterSwift).\n\nMore extensions are on the way. If you have any requests, create an issue or submit a PR\n\n## Download\n\nDownload via Gradle:\n\n```groovy\ncompile 'com.vanshgandhi:krazykotlin:1.0.0'\n```\n\nor Maven:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.vanshgandhi\u003c/groupId\u003e\n  \u003cartifactId\u003ekrazykotlin\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.0\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n## Contributing\nThere is a list of outstanding work that needs to be done in [TODO.md](https://github.com/vanshg/KrazyKotlin/blob/master/TODO.md). All contributions are welcome\n\n## List of Extensions\n- [String](https://github.com/vanshg/KrazyKotlin/blob/master/src/main/kotlin/com/vanshgandhi/krazykotlin/StringExtensions.kt)\n    - base64Decoded\n    - base64Encoded\n    - camelCased\n    - containsLetters\n    - containsNumbers\n    - isAlphanumeric\n    - isAlphabetic\n    - isNumeric\n    - isEmail\n    - isUrl\n    - mostCommonCharacter\n- [Date](https://github.com/vanshg/KrazyKotlin/blob/master/src/main/kotlin/com/vanshgandhi/krazykotlin/DateExtensions.kt)\n    - calendar\n    - isInFuture\n    - isInPast\n    - isToday\n    - isTomorrow\n    - isWeekend\n    - isWeekday\n    - iso8601\n    - roundToMinute\n    - roundToFiveMinutes\n    - roundToTenMinutes\n    - roundToFifteenMinutes\n    - roundToHalfHour\n    - roundToHour\n    - millisecondsSince\n    - secondsSince\n    - minutesSince\n    - hoursSince\n    - daysSince\n    - weeksSince\n    - monthsSince\n    - yearsSince\n    - plus\n    - minus\n- [Int](https://github.com/vanshg/KrazyKotlin/blob/master/src/main/kotlin/com/vanshgandhi/krazykotlin/IntExtensions.kt)\n    - random\n- [Boolean](https://github.com/vanshg/KrazyKotlin/blob/master/src/main/kotlin/com/vanshgandhi/krazykotlin/BooleanExtensions.kt)\n    - intValue\n\n## License\n```\nMIT License\n\nCopyright (c) 2017 Vansh Gandhi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanshg%2FKrazyKotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanshg%2FKrazyKotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanshg%2FKrazyKotlin/lists"}