{"id":21890766,"url":"https://github.com/chantastic/circum","last_synced_at":"2025-03-22T03:11:34.737Z","repository":{"id":57198962,"uuid":"78060028","full_name":"chantastic/circum","owner":"chantastic","description":"A positive array index for any number.","archived":false,"fork":false,"pushed_at":"2017-01-04T23:08:22.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T03:02:10.838Z","etag":null,"topics":[],"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/chantastic.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-01-04T23:03:04.000Z","updated_at":"2019-06-25T14:18:59.000Z","dependencies_parsed_at":"2022-09-16T14:52:10.065Z","dependency_job_id":null,"html_url":"https://github.com/chantastic/circum","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/chantastic%2Fcircum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fcircum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fcircum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fcircum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chantastic","download_url":"https://codeload.github.com/chantastic/circum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244898447,"owners_count":20528341,"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":[],"created_at":"2024-11-28T12:16:44.414Z","updated_at":"2025-03-22T03:11:34.716Z","avatar_url":"https://github.com/chantastic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# circum [![Build Status](https://travis-ci.org/chantastic/circum.svg?branch=master)](https://travis-ci.org/chantastic/circum)\n\n\u003e An array index for any number.\n\n\n## Install\n\n```\n$ npm install --save circum\n```\n\n\n## Usage\n\n```js\nconst circum = require('circum');\n\ncircum([1,2,3], -2);\n//=\u003e 1\n```\n\n\n## API\n\n### circum(arr, index)\n\n#### arr\n\nType: `array`\n\n#### index\n\nType: `number`\n\n\n## License\n\nMIT © [Michael Chan](http://chantastic.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchantastic%2Fcircum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchantastic%2Fcircum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchantastic%2Fcircum/lists"}