{"id":17810384,"url":"https://github.com/sigma-andex/purescript-typescript-importer","last_synced_at":"2025-03-17T19:31:56.363Z","repository":{"id":44868298,"uuid":"417853712","full_name":"sigma-andex/purescript-typescript-importer","owner":"sigma-andex","description":"WIP typescript \u003c≡\u003e purescript importer","archived":false,"fork":false,"pushed_at":"2022-02-11T21:48:24.000Z","size":284,"stargazers_count":9,"open_issues_count":7,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-30T20:07:34.809Z","etag":null,"topics":["purescript","typescript"],"latest_commit_sha":null,"homepage":"","language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sigma-andex.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}},"created_at":"2021-10-16T14:32:55.000Z","updated_at":"2023-01-31T13:27:50.000Z","dependencies_parsed_at":"2022-09-04T15:32:40.238Z","dependency_job_id":null,"html_url":"https://github.com/sigma-andex/purescript-typescript-importer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigma-andex%2Fpurescript-typescript-importer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigma-andex%2Fpurescript-typescript-importer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigma-andex%2Fpurescript-typescript-importer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sigma-andex%2Fpurescript-typescript-importer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sigma-andex","download_url":"https://codeload.github.com/sigma-andex/purescript-typescript-importer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221699097,"owners_count":16865979,"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":["purescript","typescript"],"created_at":"2024-10-27T15:33:10.896Z","updated_at":"2024-10-27T15:33:11.527Z","avatar_url":"https://github.com/sigma-andex.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# purescript-typescript-importer\n\nExperiment of writing a typescript importer for purescript. Very early stage and ongoing development, don't use it yet!\n\nThe current state of typescript support can be seen in the testfiles folder. In [`testfiles/original`](./testfiles/original/) are the typescript input files and in [`testfiles/golden`](./testfiles/golden/) the expected output of the typescript support that is currently passing.\n\n## Goals \u0026 non-goals\n\nThe goal of this project is to create a tool that generates useful and working purescript ffis from typescript type definitions. It is not meant to create a fully-fledged typescript to purescript transpiler, as I don't see much added value to this and it's also a whole different story scope-wise.\nIt is also (currently) not a goal to go the other way around, i.e. from purescript to typescript.\n\n## Typescript \u003c≡\u003e Purescript type correspondence\n\nSee [Typescript \u003c≡\u003e Purescript type correspondence](docs/type-correspondence.md).\n\n## Usage\n\nWIP, run it using spago, pass arguments using --exec-args\n\n```bash\n# list modules with typescript type definitions\nspago run --exec-args \"list\"\n# import module\nspago run --exec-args \"import \u003cNODE_MODULE\u003e\"\n```\n\n## Maintainers\n\n- [sigma-andex](https://github.com/sigma-andex/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigma-andex%2Fpurescript-typescript-importer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsigma-andex%2Fpurescript-typescript-importer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigma-andex%2Fpurescript-typescript-importer/lists"}