{"id":21421606,"url":"https://github.com/corpglory/cgtools","last_synced_at":"2025-03-16T20:14:25.482Z","repository":{"id":57196494,"uuid":"82389279","full_name":"CorpGlory/cgtools","owner":"CorpGlory","description":"A set of extension collected from variety computer graphics apps","archived":false,"fork":false,"pushed_at":"2017-02-19T15:40:08.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-07T16:02:51.052Z","etag":null,"topics":["javascript","toolset"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/CorpGlory.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}},"created_at":"2017-02-18T13:40:54.000Z","updated_at":"2017-02-19T15:29:40.000Z","dependencies_parsed_at":"2022-09-16T09:52:25.259Z","dependency_job_id":null,"html_url":"https://github.com/CorpGlory/cgtools","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/CorpGlory%2Fcgtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorpGlory%2Fcgtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorpGlory%2Fcgtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorpGlory%2Fcgtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CorpGlory","download_url":"https://codeload.github.com/CorpGlory/cgtools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926073,"owners_count":20369910,"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":["javascript","toolset"],"created_at":"2024-11-22T20:36:33.422Z","updated_at":"2025-03-16T20:14:25.460Z","avatar_url":"https://github.com/CorpGlory.png","language":"JavaScript","readme":"# CGTools\n\nA small set of extensions for common structures.\n`prototype` is used here and it might not work with other libs.\n\nIt is a lib for us :)\n\n# Installation\n\n```\nnpm install --save cgtools\n```\n\n# Usage\n\n```js\n\nrequire('cgtools')\n\n[1,2,3].first() // returns 1\n[1,2,3].last() // returns 3\n\n[0,1,2,3,4,5].binaryIndexOfClosest(3.1) // returns 3\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorpglory%2Fcgtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorpglory%2Fcgtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorpglory%2Fcgtools/lists"}