{"id":21022401,"url":"https://github.com/phonowell/coffee-ahk","last_synced_at":"2025-05-15T08:32:28.445Z","repository":{"id":57202629,"uuid":"293743367","full_name":"phonowell/coffee-ahk","owner":"phonowell","description":"Coffeescript -\u003e AHK","archived":false,"fork":false,"pushed_at":"2024-08-22T06:11:47.000Z","size":1616,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T04:37:58.817Z","etag":null,"topics":["ahk","javascript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/phonowell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-09-08T08:06:56.000Z","updated_at":"2025-03-15T16:47:06.000Z","dependencies_parsed_at":"2023-01-22T17:46:20.646Z","dependency_job_id":"db1afe4e-ccf4-4680-9ae2-bcca8c17fd15","html_url":"https://github.com/phonowell/coffee-ahk","commit_stats":{"total_commits":153,"total_committers":3,"mean_commits":51.0,"dds":"0.24836601307189543","last_synced_commit":"040d7a8bf555bf6f4e71994787ad5d20d1bae5dc"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonowell%2Fcoffee-ahk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonowell%2Fcoffee-ahk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonowell%2Fcoffee-ahk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonowell%2Fcoffee-ahk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phonowell","download_url":"https://codeload.github.com/phonowell/coffee-ahk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254304642,"owners_count":22048446,"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":["ahk","javascript"],"created_at":"2024-11-19T11:11:38.690Z","updated_at":"2025-05-15T08:32:23.947Z","avatar_url":"https://github.com/phonowell.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coffee-ahk\n\nTranslate `coffeescript` to `ahk`.\n\n[Documentation](./doc/documentation.md) | [文档](./doc/cn/documentation.md)\n\n## Usage\n\n```shell\npnpm i coffee-ahk\n```\n\n```typescript\nimport c2a from 'coffee-ahk'\n\nawait c2a('./script/toolkit/index.coffee', {\n  salt: 'toolkit',\n  save: true,\n  verbose: false,\n})\n```\n\n## Test\n\n```shell\nnpm run test\n```\n\n## Notice\n\n- Not yet supported `? `;\n\n- Does not yet support inverted syntax such as `a = 1 unless a \u003e= 1`; normal syntax must be used;\n\n- No `NaN`, `null` and `undefined`, which are all converted to the empty string `''`;\n\n- No `getter`/`setter`;\n\n- No implicit `return`, all `return`s must be written explicitly;\n\n- The distinction between characters and numbers in `ahk` is blurred, `'0'` returns `false` in `ahk`;\n\n- Using `=\u003e` outside of `class` is not recommended, because pure functions in `ahk` do not have `this`;\n\n- Use `utf8` for encoding `.coffee` files. The encoding of `.ahk` files uses `uft8 with BOM`;\n\n- Import and export are not yet complete;\n\n- Npm package management support is not complete;\n\n- You can use `true`, `false`, `on` and `off`, but be careful not to use type judgments. The `boolean` type does not exist in `ahk`;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphonowell%2Fcoffee-ahk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphonowell%2Fcoffee-ahk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphonowell%2Fcoffee-ahk/lists"}