{"id":26076869,"url":"https://github.com/purescript-contrib/purescript-int64","last_synced_at":"2025-04-11T22:20:40.987Z","repository":{"id":64920998,"uuid":"475368079","full_name":"purescript-contrib/purescript-int64","owner":"purescript-contrib","description":"Signed and unsigned 64-bit integer types for PureScript","archived":false,"fork":false,"pushed_at":"2022-12-18T01:30:08.000Z","size":94,"stargazers_count":5,"open_issues_count":5,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T18:15:59.162Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purescript-contrib.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-29T09:19:37.000Z","updated_at":"2023-03-13T08:11:32.000Z","dependencies_parsed_at":"2022-12-18T11:42:27.248Z","dependency_job_id":null,"html_url":"https://github.com/purescript-contrib/purescript-int64","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript-contrib%2Fpurescript-int64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript-contrib%2Fpurescript-int64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript-contrib%2Fpurescript-int64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript-contrib%2Fpurescript-int64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purescript-contrib","download_url":"https://codeload.github.com/purescript-contrib/purescript-int64/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487667,"owners_count":21112191,"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:38.817Z","updated_at":"2025-04-11T22:20:40.937Z","avatar_url":"https://github.com/purescript-contrib.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Int64\n\n[![CI](https://github.com/purescript-contrib/purescript-int64/workflows/CI/badge.svg?branch=main)](https://github.com/purescript-contrib/purescript-int64/actions?query=workflow%3ACI+branch%3Amain)\n[![Pursuit](https://pursuit.purescript.org/packages/purescript-int64/badge)](https://pursuit.purescript.org/packages/purescript-int64)\n[![Maintainer: jamesdbrock](https://img.shields.io/badge/maintainer-jamesdbrock-teal.svg)](https://github.com/jamesdbrock)\n\nSigned and unsigned 64-bit integer types and operations.\n\n## Design\n\nThe arithmetic operations in this library will be performed by WebAssembly\nfunctions for speed, if the environment allows.\n\nFrom [__dcodeIO/long.js__](https://github.com/dcodeIO/long.js):\n\n\u003e A Long class for representing a 64 bit two's-complement integer value derived\n\u003e from the [Closure Library](https://github.com/google/closure-library)\n\u003e for stand-alone use and extended with unsigned support.\n\n\u003e ## WebAssembly support\n\u003e\n\u003e [WebAssembly](http://webassembly.org) supports 64-bit integer arithmetic out\n\u003e of the box, hence a tiny WebAssembly module is\n\u003e used to compute operations like multiplication, division and remainder more\n\u003e efficiently (slow operations like division are around twice as fast), falling\n\u003e back to floating point based computations in JavaScript where WebAssembly is\n\u003e not yet supported, e.g., in older versions of node.\n\n## Installation\n\nInstall `int64` with [Spago](https://github.com/purescript/spago):\n\n```sh\nspago install int64\n```\n\n## Quick start\n\n## Documentation\n\n`int64` documentation is stored in a few places:\n\n1. Module documentation is [published on Pursuit](https://pursuit.purescript.org/packages/purescript-int64).\n2. Written documentation is kept in the [docs directory](./docs).\n3. Usage examples can be found in [the test suite](./test).\n\nIf you get stuck, there are several ways to get help:\n\n- [Open an issue](https://github.com/purescript-contrib/purescript-int64/issues) if you have encountered a bug or problem.\n- Ask general questions on the [PureScript Discourse](https://discourse.purescript.org) forum or the [PureScript Discord](https://discord.com/invite/sMqwYUbvz6) chat.\n\n## Contributing\n\nYou can contribute to `int64` in several ways:\n\n1. If you encounter a problem or have a question, please [open an issue](https://github.com/purescript-contrib/purescript-int64/issues). We'll do our best to work with you to resolve or answer it.\n\n2. If you would like to contribute code, tests, or documentation, please [read the contributor guide](./CONTRIBUTING.md). It's a short, helpful introduction to contributing to this library, including development instructions.\n\n3. If you have written a library, tutorial, guide, or other resource based on this package, please share it on the [PureScript Discourse](https://discourse.purescript.org)! Writing libraries and learning resources are a great way to help this library succeed.\n\n## Development\n\nRun the test suite:\n\n    spago -x spago-dev.dhall test\n\n## Provenance\n\nMost of this code was copied from\n\n* [__zapph/purescript-longs__](https://github.com/zapph/purescript-longs) [LICENSE](./LICENSE.ZAPGroup)\n* [__dcodeIO/long.js__](https://github.com/dcodeIO/long.js) [LICENSE](./LICENSE.dcodeIO)\n\nThis should be considered the successor package to the package\n__purescript-longs__, for which maintaince slowed down in 2019.\nThe module names and type names have been reorganized, and the __long.js__\ndependency has been inlined instead of declared in\nthe `dependencies` of a `package.json`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurescript-contrib%2Fpurescript-int64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurescript-contrib%2Fpurescript-int64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurescript-contrib%2Fpurescript-int64/lists"}