{"id":24011868,"url":"https://github.com/ninjakoala/cidr","last_synced_at":"2025-07-22T04:31:32.732Z","repository":{"id":25282801,"uuid":"28708569","full_name":"ninjakoala/cidr","owner":"ninjakoala","description":"Clojure library for dealing with CIDR ranges","archived":false,"fork":false,"pushed_at":"2023-01-27T15:25:05.000Z","size":19,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T07:12:47.077Z","etag":null,"topics":["cidr","clojure"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ninjakoala.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":"2015-01-02T09:08:44.000Z","updated_at":"2023-12-26T02:33:58.000Z","dependencies_parsed_at":"2023-02-15T10:31:05.012Z","dependency_job_id":null,"html_url":"https://github.com/ninjakoala/cidr","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ninjakoala/cidr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjakoala%2Fcidr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjakoala%2Fcidr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjakoala%2Fcidr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjakoala%2Fcidr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninjakoala","download_url":"https://codeload.github.com/ninjakoala/cidr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninjakoala%2Fcidr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266427607,"owners_count":23926825,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cidr","clojure"],"created_at":"2025-01-08T05:17:16.060Z","updated_at":"2025-07-22T04:31:32.677Z","avatar_url":"https://github.com/ninjakoala.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Clojars Project](https://img.shields.io/clojars/v/com.ninjakoala/cidr.svg)](https://clojars.org/com.ninjakoala/cidr) [![Build Status](https://travis-ci.org/ninjakoala/cidr.svg?branch=master)](https://travis-ci.org/ninjakoala/cidr)\n\n```clojure\n(ns your.namespace\n  (:require [cidr.core :as cidr]))\n\n(cidr/in-range? \"192.168.0.1\" \"192.168.0.0/24\") ; =\u003e true\n(cidr/in-range? \"192.167.0.1\" \"192.168.0.0/24\") ; =\u003e false\n\n(cidr/completely-in-range? \"192.168.0.0/24\" \"192.168.0.0/16\") ; =\u003e true\n\n(cidr/overlap? \"192.168.0.1/25\" \"192.168.0.1/24\") ; =\u003e true\n  \n```\n\n# cidr\n\nGeneral utilities for dealing with [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).\n\n## Acknowledgements\n\nMassive thanks must go to [Keith Irwin](https://github.com/zentrope) for allowing me to lift the [original code](https://github.com/zentrope/match-expr/blob/master/src/match_expr/impl/cidr.clj) and package it up in to a library.\n\n## License\n\nCopyright © 2015 Neil Prosser\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjakoala%2Fcidr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninjakoala%2Fcidr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjakoala%2Fcidr/lists"}