{"id":16661296,"url":"https://github.com/epicallan/js-to-ts","last_synced_at":"2025-04-09T18:52:14.062Z","repository":{"id":57111785,"uuid":"129640590","full_name":"epicallan/js-to-ts","owner":"epicallan","description":"A simple Javascript to typescript converter CLI tool","archived":false,"fork":false,"pushed_at":"2018-04-17T08:29:10.000Z","size":68,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T22:41:26.632Z","etag":null,"topics":["cli","javascript","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epicallan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-15T18:52:23.000Z","updated_at":"2019-08-27T14:33:32.000Z","dependencies_parsed_at":"2022-08-21T00:01:06.669Z","dependency_job_id":null,"html_url":"https://github.com/epicallan/js-to-ts","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicallan%2Fjs-to-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicallan%2Fjs-to-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicallan%2Fjs-to-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicallan%2Fjs-to-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epicallan","download_url":"https://codeload.github.com/epicallan/js-to-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248092865,"owners_count":21046569,"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":["cli","javascript","typescript"],"created_at":"2024-10-12T10:34:27.260Z","updated_at":"2025-04-09T18:52:14.041Z","avatar_url":"https://github.com/epicallan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/%40epicallan%2Fjs-to-ts.svg)](https://badge.fury.io/js/%40epicallan%2Fjs-to-ts)\n\n# Javascript to Typescript file convert\n\nHeavily relying on [lebab](https://github.com/lebab/lebab) for es5 to es6 conversion\n\n## What it does\n\n-----\n\n- convert es5 to es6 code\n- Renames files in a directory to .ts\n- delete left over js files by commandline see commands usage below\n\n## Commands / usage\n\n-----\ninstall by using yarn or npm\n\n```\n npm install -g @epicallan/js-to-ts\n```\n\n`$ js-to-ts --dir \u003crelativePath\u003e` to convert files in a specific dir\n\n`$ js-to-ts ` to convert files in current dir\n\n`$ js-to-ts -d` to delete all js files in current dir\n\n`$ js-to-ts -d --dir \u003crelativePath\u003e` to delete all js files in relative dir\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicallan%2Fjs-to-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepicallan%2Fjs-to-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicallan%2Fjs-to-ts/lists"}