{"id":31950214,"url":"https://github.com/leonardocbsr/iseven","last_synced_at":"2026-06-30T18:31:23.711Z","repository":{"id":43982791,"uuid":"244887745","full_name":"leonardocbsr/isEven","owner":"leonardocbsr","description":"fun isEven function for javascript","archived":false,"fork":false,"pushed_at":"2023-01-05T09:02:06.000Z","size":9574,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-14T12:40:00.980Z","etag":null,"topics":["integral","iseven","javascript"],"latest_commit_sha":null,"homepage":"","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/leonardocbsr.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":"2020-03-04T11:53:26.000Z","updated_at":"2020-03-06T06:56:30.000Z","dependencies_parsed_at":"2023-02-03T22:01:39.057Z","dependency_job_id":null,"html_url":"https://github.com/leonardocbsr/isEven","commit_stats":null,"previous_names":["leonardocbsr/iseven"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/leonardocbsr/isEven","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardocbsr%2FisEven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardocbsr%2FisEven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardocbsr%2FisEven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardocbsr%2FisEven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonardocbsr","download_url":"https://codeload.github.com/leonardocbsr/isEven/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardocbsr%2FisEven/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018618,"owners_count":26086579,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["integral","iseven","javascript"],"created_at":"2025-10-14T12:39:58.454Z","updated_at":"2025-10-14T12:40:01.537Z","avatar_url":"https://github.com/leonardocbsr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# isEven\n\nThis is a function made only for fun.\\\nIt uses Quadrature rules based on interpolating functions with 100 subintervals and 5 decimals points.\n\nIt creates a function based on the number, and calculate its definite integral from -1 to 0 and from 0 to 1.\nThen it compares if the left definite integral equals the right definite integral. If so, returns true.\n\n## To run tests:\n```bash\nnpm run test\n```\n\n## Time complexity:\nDiscreteIntegral's calculate: O(intervals).\\\nisEven: O(intervals) + O(1).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardocbsr%2Fiseven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonardocbsr%2Fiseven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardocbsr%2Fiseven/lists"}