{"id":16725918,"url":"https://github.com/benzap/litter","last_synced_at":"2025-03-15T15:23:33.167Z","repository":{"id":145076558,"uuid":"151651970","full_name":"benzap/litter","owner":"benzap","description":"Number Literals Utility Library in clojure(script)","archived":false,"fork":false,"pushed_at":"2018-10-05T00:25:11.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T03:42:08.347Z","etag":null,"topics":["clojure","clojurescript","literals","utility"],"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/benzap.png","metadata":{"files":{"readme":"readme.org","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-05T00:21:30.000Z","updated_at":"2018-10-05T00:27:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"825371cd-c92a-4d05-8503-e4f1fe03656f","html_url":"https://github.com/benzap/litter","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/benzap%2Flitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benzap%2Flitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benzap%2Flitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benzap%2Flitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benzap","download_url":"https://codeload.github.com/benzap/litter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243747357,"owners_count":20341462,"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":["clojure","clojurescript","literals","utility"],"created_at":"2024-10-12T22:51:25.865Z","updated_at":"2025-03-15T15:23:33.138Z","avatar_url":"https://github.com/benzap.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+TITLE: Litter - Number Literal Utility Library in Clojure(script)\n#+AUTHOR: Benjamin Zaporzan\n#+DATE: 2018-10-04\n#+EMAIL: benzaporzan@gmail.com\n#+LANGUAGE: en\n#+OPTIONS: H:2 num:t toc:t \\n:nil ::t |:t ^:t f:t tex:t\n\n* What is it for?\n  To express big numbers in an easier to read way. Especially numbers\n  with repeating zeros. It can be difficult to read 100000000, when\n  it could be expressed as (lit/num :100M)\n  \n* examples\n\nGeneral Number Literals\n#+BEGIN_SRC clojure\n  (require '[litter.core :as lit])\n\n  (lit/num \"100\") ;; 100\n  (lit/num \"100,000\") ;; 100000\n  (lit/num \"100,000.2345\") ;; 100000.2345\n  (lit/num \"100,000,000\") ;; 100000000\n  (lit/num :100M) ;; 100000000\n  (lit/num :100M2k20m) ;; 100002000.020\n  (lit/num :100M20M2k) ;; ERROR\n  (lit/num \"100,000,000,00\") ;; ERROR\n#+END_SRC\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenzap%2Flitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenzap%2Flitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenzap%2Flitter/lists"}