{"id":17497254,"url":"https://github.com/moox/rescript-next","last_synced_at":"2025-04-11T00:55:19.358Z","repository":{"id":45999650,"uuid":"353394660","full_name":"MoOx/rescript-next","owner":"MoOx","description":"ReScript bindings for Next.js","archived":false,"fork":false,"pushed_at":"2022-09-11T08:21:33.000Z","size":60,"stargazers_count":49,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T00:55:15.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ReScript","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/MoOx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-31T14:58:41.000Z","updated_at":"2024-11-07T03:02:57.000Z","dependencies_parsed_at":"2022-07-18T13:00:51.669Z","dependency_job_id":null,"html_url":"https://github.com/MoOx/rescript-next","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Frescript-next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Frescript-next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Frescript-next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Frescript-next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoOx","download_url":"https://codeload.github.com/MoOx/rescript-next/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322610,"owners_count":21084336,"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":"2024-10-19T15:35:57.132Z","updated_at":"2025-04-11T00:55:19.341Z","avatar_url":"https://github.com/MoOx.png","language":"ReScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `rescript-next`\n\n\u003ca href=\"https://github.com/MoOx/rescript-next?sponsor=1\"\u003e\n  \u003cimg width=\"140\" align=\"right\" alt=\"Sponsoring button\" src=\"https://github.com/moox/.github/raw/main/FUNDING.svg\"\u003e\n\u003c/a\u003e\n\n[![GitHub package.json version](https://img.shields.io/github/package-json/v/MoOx/rescript-next) ![npm downloads](https://img.shields.io/npm/dm/rescript-next)](https://www.npmjs.com/package/rescript-next)\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/MoOx/rescript-next/Build)](https://github.com/MoOx/rescript-next/actions)\n[![License](https://img.shields.io/github/license/MoOx/rescript-next)](https://github.com/MoOx/rescript-next)  \n[![GitHub followers](https://img.shields.io/github/followers/MoOx?style=social\u0026label=Follow%20me)](https://github.com/MoOx)\n[![Twitter Follow](https://img.shields.io/twitter/follow/MoOx?style=social\u0026label=Follow%20me)](https://twitter.com/MoOx)\n[![Sponsor my work](https://github.com/moox/.github/raw/main/FUNDING-button.svg)](https://github.com/MoOx/rescript-next?sponsor=1)\n\n[ReScript](https://rescript-lang.org) bindings for [`Next.js`](https://nextjs.org/).\n\nExposed as `Next` module.\n\n`rescript-next` X.y.\\* means it's compatible with\n`next` X.y.\\*\n\n## Installation\n\nWhen\n[`Next.js`](https://nextjs.org/)\nis properly installed \u0026 configured by following their installation instructions,\nyou can install the bindings:\n\n```console\nnpm install rescript-next\n# or\nyarn add rescript-next\n```\n\n`rescript-next` should be added to `bs-dependencies` in your\n`bsconfig.json`:\n\n```diff\n{\n  //...\n  \"bs-dependencies\": [\n    \"@rescript/react\",\n    // ...\n+    \"rescript-next\"\n  ],\n  //...\n}\n```\n\n## Supported modules and features\n\n- `next/dynamic`\n- `next/error`\n- `next/head`\n- `next/image`\n- `next/link`\n- `next/router` (`on`, `off`, `push`, `replace`)\n- `getStaticProps` and `getServerSideProps`\n\n## Usage\n\nCheck out the [source file](./src/Next.res) to discover the API.\n\n---\n\n## Changelog\n\nCheck the [changelog](./CHANGELOG.md) for more informations about recent\nreleases.\n\n---\n\n## Contribute\n\nRead the\n[contribution guidelines](https://github.com/MoOx/.github/blob/main/CONTRIBUTING.md)\nbefore contributing.\n\n## Code of Conduct\n\nI want this community to be friendly and respectful to each other. Please read\n[my full code of conduct](https://github.com/MoOx/.github/blob/main/CODE_OF_CONDUCT.md)\nso that you can understand what actions will and will not be tolerated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoox%2Frescript-next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoox%2Frescript-next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoox%2Frescript-next/lists"}