{"id":18495929,"url":"https://github.com/leanprover/lean-client-js","last_synced_at":"2025-04-08T22:32:07.540Z","repository":{"id":38806901,"uuid":"90157415","full_name":"leanprover/lean-client-js","owner":"leanprover","description":null,"archived":true,"fork":false,"pushed_at":"2023-05-31T02:21:06.000Z","size":911,"stargazers_count":38,"open_issues_count":23,"forks_count":12,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-23T19:12:30.007Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leanprover.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":"2017-05-03T14:20:58.000Z","updated_at":"2025-03-19T09:02:28.000Z","dependencies_parsed_at":"2024-06-18T18:42:56.810Z","dependency_job_id":"cacaea4d-445b-4ab9-bc37-9fa960ec1d80","html_url":"https://github.com/leanprover/lean-client-js","commit_stats":{"total_commits":155,"total_committers":9,"mean_commits":17.22222222222222,"dds":0.3548387096774194,"last_synced_commit":"caca703f1b6689f4b410b1eac1ee234d591bfa54"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Flean-client-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Flean-client-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Flean-client-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanprover%2Flean-client-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leanprover","download_url":"https://codeload.github.com/leanprover/lean-client-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247940655,"owners_count":21022019,"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-11-06T13:26:51.589Z","updated_at":"2025-04-08T22:32:02.524Z","avatar_url":"https://github.com/leanprover.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Javascript interface to the Lean server\n\n[Demo code](./lean-client-js-browser/demo.ts):\n```\nnpm install\nnpm run bootstrap\nnpm run compile\n```\n\nNext you'll need to download a suitable release of the Lean emscripten build (see the `lean-*-browser.zip` files [here](https://github.com/leanprover-community/lean-nightly/releases)) and copy the files within to `lean-client-js-browser/dist`. You may also need to build your own `library.zip` and associated meta files following the instructions [here](https://github.com/leanprover-community/lean-web-editor/#creating-a-customized-libraryzip).\n\nThen you can run:\n```\nnpm run demo\n```\nAnd go to http://localhost:8080/\n\nYou can then also run `npm run node-demo` to see the same code interacting with a locally-installed version of Lean.\n\nIf you would like to support older browsers, you can try adding back the `babel-loader` plugin. Add these four lines to the `devDependencies` in `package.json`:\n```\n    \"babel-core\": \"^6.26.3\",\n    \"babel-loader\": \"^7.1.2\",\n    \"babel-polyfill\": \"^6.26.0\",\n    \"babel-preset-env\": \"^1.7.0\",\n```\n and uncomment the lines mentioning babel in `lean-client-js-browser/webpack.config.json` as well as the import in `webworkerscript.ts`.\n\nSee the [`lean-client-js-browser` README](./lean-client-js-browser/README.md) for more information about building for browser use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanprover%2Flean-client-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanprover%2Flean-client-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanprover%2Flean-client-js/lists"}