{"id":15010434,"url":"https://github.com/nuid/bn","last_synced_at":"2026-04-04T13:40:13.390Z","repository":{"id":49142469,"uuid":"158447641","full_name":"NuID/bn","owner":"NuID","description":"Cross-platform arbitrary precision integers","archived":false,"fork":false,"pushed_at":"2023-10-27T13:31:58.000Z","size":122,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T09:44:30.311Z","etag":null,"topics":["bigint","biginteger","bignum","bignumber","clj","cljc","cljs","clojure","clojurescript"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NuID.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-20T20:31:22.000Z","updated_at":"2022-06-01T23:26:14.000Z","dependencies_parsed_at":"2024-10-12T14:01:06.658Z","dependency_job_id":null,"html_url":"https://github.com/NuID/bn","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/NuID%2Fbn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NuID%2Fbn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NuID%2Fbn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NuID%2Fbn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NuID","download_url":"https://codeload.github.com/NuID/bn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243382783,"owners_count":20282007,"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":["bigint","biginteger","bignum","bignumber","clj","cljc","cljs","clojure","clojurescript"],"created_at":"2024-09-24T19:34:13.533Z","updated_at":"2025-12-28T13:54:59.321Z","avatar_url":"https://github.com/NuID.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"right\"\u003e\u003ca href=\"https://nuid.io\"\u003e\u003cimg src=\"https://nuid.io/svg/logo.svg\" width=\"20%\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n# nuid.bn\n\nCross-platform arbitrary precision integers.\n\n## Requirements\n\n[`jvm`](https://www.java.com/en/download/), [`node + npm`](https://nodejs.org/en/download/), [`clj`](https://clojure.org/guides/getting_started), [`shadow-cljs`](https://shadow-cljs.github.io/docs/UsersGuide.html#_installation)\n\n## Clojure and ClojureScript\n\n### tools.deps:\n\n`{nuid/bn {:git/url \"https://github.com/nuid/bn\" :sha \"...\"}}`\n\n### usage:\n\n```\n$ clj # or shadow-cljs node-repl\n=\u003e (require '[nuid.bn :as bn])\n=\u003e (def a (bn/from \"42\"))\n=\u003e (def b (bn/from \"14159265358979323846264338327950288419716939937510\"))\n=\u003e (def c (bn/add a b))\n=\u003e (bn/eq? a b)  ;; =\u003e false\n=\u003e (bn/lt? a b)  ;; =\u003e true\n=\u003e (bn/str c)    ;; =\u003e \"14159265358979323846264338327950288419716939937552\"\n=\u003e (bn/str c 16) ;; =\u003e \"9b02b6aef2f4c6d5f1a5aae08bf77321e33e47710\"\n```\n\n## Licensing\n\nApache v2.0 or MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuid%2Fbn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuid%2Fbn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuid%2Fbn/lists"}