{"id":27389088,"url":"https://github.com/an-empty-string/is-divisible","last_synced_at":"2025-10-25T11:04:13.712Z","repository":{"id":57213161,"uuid":"296489879","full_name":"an-empty-string/is-divisible","owner":"an-empty-string","description":"A simple node dot js library to check if numbers are divisible by other ones","archived":false,"fork":false,"pushed_at":"2020-09-18T02:13:33.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T22:06:51.793Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/an-empty-string.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-18T02:12:22.000Z","updated_at":"2020-12-03T05:37:22.000Z","dependencies_parsed_at":"2022-08-24T21:41:54.344Z","dependency_job_id":null,"html_url":"https://github.com/an-empty-string/is-divisible","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/an-empty-string%2Fis-divisible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-empty-string%2Fis-divisible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-empty-string%2Fis-divisible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-empty-string%2Fis-divisible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/an-empty-string","download_url":"https://codeload.github.com/an-empty-string/is-divisible/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766739,"owners_count":21158301,"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":"2025-04-13T19:11:56.239Z","updated_at":"2025-10-25T11:04:08.675Z","avatar_url":"https://github.com/an-empty-string.png","language":"JavaScript","readme":"# divisibility\n\nA simple way to check if a number is divisibile by another number in JavaScript!\n\nUsage is easy as long as the number you want to check divisibility by is less than 1000.\n\n## Usage\n\nSimply call the appropriate function. Want to check if a number is even?\n\n    var divisibility = require(\"divisibility\");\n    var isThreeEven = divisibility.isDivisibleByTwo(3);  // false\n    var isFourEven = divisibility.isDivisibleByTwo(4);  // true\n\nNeed to check against a bigger number? No problem!\n\n    var divisibility = require(\"divisibility\");\n    var check = divisibility.isDivisibleByThreeHundredAndSixtyTwo(362);  // true\n    var check2 = divisibility.isDivisibleByFourHundredAndSeventyEight(5);  // false\n    var check3 = divisibility.isDivisibleByTwelve(13);  // falseb\n\n## Bug reports\n\nThis package contains no bugs and is production-ready!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan-empty-string%2Fis-divisible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fan-empty-string%2Fis-divisible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan-empty-string%2Fis-divisible/lists"}