{"id":26076847,"url":"https://github.com/purescript-contrib/purescript-bigints","last_synced_at":"2026-03-16T16:02:12.696Z","repository":{"id":35695138,"uuid":"39972103","full_name":"purescript-contrib/purescript-bigints","owner":"purescript-contrib","description":"Arbitrary length integers for PureScript","archived":false,"fork":false,"pushed_at":"2023-03-22T14:26:13.000Z","size":152,"stargazers_count":26,"open_issues_count":3,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-11T23:27:12.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PureScript","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/purescript-contrib.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-30T20:56:06.000Z","updated_at":"2024-01-10T09:06:31.000Z","dependencies_parsed_at":"2024-06-19T20:04:22.540Z","dependency_job_id":"bbfdc191-249f-4015-a395-077db1cf979f","html_url":"https://github.com/purescript-contrib/purescript-bigints","commit_stats":null,"previous_names":["sharkdp/purescript-bigints"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript-contrib%2Fpurescript-bigints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript-contrib%2Fpurescript-bigints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript-contrib%2Fpurescript-bigints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript-contrib%2Fpurescript-bigints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purescript-contrib","download_url":"https://codeload.github.com/purescript-contrib/purescript-bigints/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242635336,"owners_count":20161437,"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-03-09T02:36:21.002Z","updated_at":"2026-01-11T13:31:24.213Z","avatar_url":"https://github.com/purescript-contrib.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# purescript-bigints\n\n[![Latest release](http://img.shields.io/bower/v/purescript-bigints.svg)](https://github.com/sharkdp/purescript-bigints/releases)\n[![Build Status](https://github.com/sharkdp/purescript-bigints/workflows/CI/badge.svg?branch=master)](https://github.com/sharkdp/purescript-bigints/actions?query=workflow%3ACI+branch%3Amaster)\n[![Maintainer: gbagan](https://img.shields.io/badge/maintainer-gbagan-teal.svg)](https://github.com/gbagan)\n\n**Note**: This package is deprecated. You probably want to use [`purescript-js-bigints`](https://github.com/purescript-contrib/purescript-js-bigints) instead.\n\nA library for calculations with arbitrary length integers.\nThis is a simple wrapper around [BigInteger.js](https://github.com/peterolson/BigInteger.js)\nby [Peter Olson](https://github.com/peterolson).\n\n\n## Module documentation\n\n- [Published on Pursuit](http://pursuit.purescript.org/packages/purescript-bigints/)\n\n## Example\n\n```purescript\nx = fromInt 42\ny = (fromJust \u003c\u003c\u003c fromBase 16) \"fe45aab12\"\nmersenne10 = (fromInt 2) `pow` (fromInt 89) - one\n\n\u003e x `pow` x\nfromString \"150130937545296572356771972164254457814047970568738777235893533016064\"\n\n\u003e toNumber (y * mersenne10)\n4.2248205181941055e+37\n\n\u003e prime mersenne10\ntrue\n```\n\n## Installation and usage\nYou can install this package via Bower. You will also need [BigInteger.js](https://github.com/peterolson/BigInteger.js), which can be installed via `npm`:\n```\nbower install purescript-bigints\nnpm install big-integer\n```\nFor the browser, remember to bundle `BigInteger.min.js` with your code.\n\n## Development\n```\nbower install\nnpm install\n```\nThen, use `pulp` to build, run tests and generate the documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurescript-contrib%2Fpurescript-bigints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurescript-contrib%2Fpurescript-bigints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurescript-contrib%2Fpurescript-bigints/lists"}