{"id":20683525,"url":"https://github.com/eggy115/purescript","last_synced_at":"2026-03-10T11:02:49.411Z","repository":{"id":239269558,"uuid":"622331174","full_name":"Eggy115/Purescript","owner":"Eggy115","description":"Purescript","archived":false,"fork":false,"pushed_at":"2023-04-12T11:11:07.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T22:38:42.970Z","etag":null,"topics":["pure-script","purescript","purescript-code","purescript-examples","purescript-lang","purescript-language","purescript-programs","purescript-scripts"],"latest_commit_sha":null,"homepage":"https://github.com/Eggy115/Purescript","language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eggy115.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Eggy115"],"patreon":"Eggy115","open_collective":"Eggy115","ko_fi":"Eggy115","tidelift":"Eggy115","community_bridge":"Eggy115","liberapay":"Eggy115","issuehunt":"Eggy115","otechie":"Eggy115","lfx_crowdfunding":null,"custom":["https://www.youtube.com/Eggy115","https://github.com/Eggy115"]}},"created_at":"2023-04-01T19:43:18.000Z","updated_at":"2023-04-11T10:39:14.000Z","dependencies_parsed_at":"2024-05-11T06:02:43.940Z","dependency_job_id":null,"html_url":"https://github.com/Eggy115/Purescript","commit_stats":null,"previous_names":["eggy115/purescript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Eggy115/Purescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FPurescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FPurescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FPurescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FPurescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eggy115","download_url":"https://codeload.github.com/Eggy115/Purescript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FPurescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30331623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["pure-script","purescript","purescript-code","purescript-examples","purescript-lang","purescript-language","purescript-programs","purescript-scripts"],"created_at":"2024-11-16T22:16:52.586Z","updated_at":"2026-03-10T11:02:49.385Z","avatar_url":"https://github.com/Eggy115.png","language":"PureScript","readme":"# PureScript\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\nThis repository contains a collection of PureScript programs and scripts.\n\n## Table of Contents\n- [What is PureScript](#what-is-purescript)   \n- [Installation](#installation)\n  - [Installing PureScript](#installing-purescript)    \n    - [Windows](#windows)\n    - [Linux](#linux)\n    - [macOS](#macOS)  \n  - [Installing Repository](#installing-repository)  \n- [Usage](#usage)\n  - [Running PureScript Programs](#running-purescript-programs)\n  - [Using Spago](#using-spago)\n- [Contributing](#contributing)\n- [License](#license)\n\n## What is PureScript\n\nPureScript is a strongly-typed functional programming language that compiles to JavaScript. It is inspired by Haskell and provides a simple and expressive syntax for writing functional code. PureScript's static type system helps catch many common programming errors at compile-time, making it a powerful language for building robust and maintainable applications.\n\nPureScript is commonly used for frontend web development, where it can be used to build user interfaces with libraries like React or as a replacement for JavaScript in building server-side applications with Node.js. It is also used in other domains like data science, machine learning, and game development.\n\n## Installation\n\n### Installing PureScript\n\nThese are the general steps to install PureScript on different platforms. However, the exact steps may vary depending on the specific operating system and version you are using. It's always a good idea to refer to the official documentation for your platform to get more detailed installation instructions.\n\n#### Windows\n\n1. Download and install Node.js from the official Node.js website.\n2. Open a command prompt or PowerShell window and run the following command to install PureScript globally:\n\n```\nnpm install -g purescript\n```\n\n3. Once the installation is complete, you can use any text editor or IDE (Integrated Development Environment) to write and compile PureScript code.\n\n#### Linux\n\n1. Install Node.js using the package manager for your Linux distribution. For example, on Ubuntu, you can use the following command:\n\n```\nsudo apt-get install nodejs\n```\n\n2. Install PureScript globally using npm, the Node.js package manager:\n\n```\nnpm install -g purescript\n```\n\n3. Once PureScript is installed, you can use any text editor or IDE to write and compile PureScript code.\n\n#### macOS\n\n1. Install Node.js using a package manager like Homebrew. Open a terminal and run the following command:\n\n```\nbrew install node\n```\n\n2. Install PureScript globally using npm, the Node.js package manager:\n\n```\nnpm install -g purescript\n```\n\n3. Once PureScript is installed, you can use any text editor or IDE to write and compile PureScript code.\n\n### Installing Repository\n\nYou can download individual files, copy \u0026 paste code, or clone the repository\n\n```\ngit clone https://github.com/YourUsername/PureScript.git\n```\n      \n## Usage\n\n### Running PureScript Programs\n\n1. Clone the repository. If you have written your own programs, save the program with a `.purs` file extension.\n2. Open a terminal or command prompt and navigate to the directory where the PureScript program is saved.\n3. Run the following command to compile and run the PureScript program:\n\n```\npurs compile path/to/program.purs -o output\n```\n\n### Using Spago\n\n[Spago](https://github.com/spacchetti/spago) is a popular package manager and build tool for PureScript projects. You can use Spago to manage dependencies, build, and run your PureScript programs in a more organized and efficient way. Here are some basic commands you can use with Spago:\n\n- Install Spago globally (if not already installed):\n\n```\nnpm install -g spago\n```\n\n- Initialize a new Spago project:\n\n```\nspago init\n```\n\n- Install dependencies listed in your `spago.dhall` file:\n\n```\nspago install\n```\n\n- Build your PureScript project:\n\n```\nspago build\n```\n\n- Run your PureScript program:\n\n```\nspago run\n```\n\nFor more information on using Spago, refer to the [official documentation](https://github.com/spacchetti/spago#readme).\n\n## Contributing\n\nContributions are always welcome! Follow these steps to contribute:\n\n1. Fork the repository and make your changes. \n2. Submit a pull request with your changes.\n3. Create an issue if you find a bug or have a feature request.\n\nPlease make sure to adhere to the [code of conduct](CODE_OF_CONDUCT.md) and the [contributing guidelines](CONTRIBUTING.md).\n\n## License\n\nThis repository is licensed under the [GPLv3 License](https://www.gnu.org/licenses/gpl-3.0.html). See the [LICENSE](LICENSE) file for more information.\n","funding_links":["https://github.com/sponsors/Eggy115","https://patreon.com/Eggy115","https://opencollective.com/Eggy115","https://ko-fi.com/Eggy115","https://tidelift.com/funding/github/Eggy115","https://funding.communitybridge.org/projects/Eggy115","https://liberapay.com/Eggy115","https://issuehunt.io/r/Eggy115","https://otechie.com/Eggy115","https://www.youtube.com/Eggy115","https://github.com/Eggy115"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggy115%2Fpurescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggy115%2Fpurescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggy115%2Fpurescript/lists"}