{"id":22505073,"url":"https://github.com/divinrkz/one-liners","last_synced_at":"2025-08-03T11:32:39.998Z","repository":{"id":103533431,"uuid":"464354780","full_name":"divinrkz/one-liners","owner":"divinrkz","description":"Quick One Liners in JavaScript, TypeScript, Python, Rust, Java, Ruby,  C, C++","archived":false,"fork":false,"pushed_at":"2022-02-28T08:16:59.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-06T21:10:14.705Z","etag":null,"topics":["c","cpp","java","javascript","php","python","ruby","rust","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/divinrkz.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}},"created_at":"2022-02-28T05:48:17.000Z","updated_at":"2023-08-06T21:10:21.021Z","dependencies_parsed_at":null,"dependency_job_id":"cf3a1d90-f2cf-4f11-afe8-420737895bb3","html_url":"https://github.com/divinrkz/one-liners","commit_stats":null,"previous_names":["divinrkz/one-liners"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divinrkz%2Fone-liners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divinrkz%2Fone-liners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divinrkz%2Fone-liners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divinrkz%2Fone-liners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divinrkz","download_url":"https://codeload.github.com/divinrkz/one-liners/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228540829,"owners_count":17934030,"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":["c","cpp","java","javascript","php","python","ruby","rust","typescript"],"created_at":"2024-12-07T00:14:03.607Z","updated_at":"2024-12-07T00:14:04.678Z","avatar_url":"https://github.com/divinrkz.png","language":"TypeScript","readme":"# ONE LINERS\nThis repository contains cool and simple one line utility functions to easily use common repetitive methods in\nJavaScript, TypeScript, Python, Rust, Java, Ruby,  C, C++ and more ...\n\n\n### TYPESCRIPT\n- `wait`: Waits for a specific amount of time in milliseconds.\n- `isWeekDay`: Checks if a date is a weekDay.\n- `reverse`: Reverses a string.\n- `isEven`: Check if a number is even.\n- `capitalize`: Capitalizing a string.\n- `isArrayEmpty`: Checks if an array is empty.\n- `isObjectEmpty`: Checks if an object/array is empty.\n- `randomInteger`: Generate random int from two parameters.\n- `toggleBoolean`: Toogles a boolean value.\n\n### JAVASCRIPT\n- `wait`: Waits for a specific amount of time in milliseconds.\n- `isWeekDay`: Checks if a date is a weekDay.\n- `reverse`: Reverses a string.\n- `isEven`: Check if a number is even.\n- `capitalize`: Capitalizing a string.\n- `isArrayEmpty`: Checks if an array is empty.\n- `isObjectEmpty`: Checks if an object/array is empty.\n- `randomInteger`: Generate random int from two parameters.\n- `toggleBoolean`: Toogles a boolean value.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivinrkz%2Fone-liners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivinrkz%2Fone-liners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivinrkz%2Fone-liners/lists"}