{"id":20420336,"url":"https://github.com/deepraining/conv-mod","last_synced_at":"2025-04-12T18:09:27.947Z","repository":{"id":57206687,"uuid":"201458437","full_name":"deepraining/conv-mod","owner":"deepraining","description":"把 JavaScript 模块从 AMD 或 CommonJs 规范转化为 ES6 规范. Convert JavaScript module from AMD or CommonJs to ES6.","archived":false,"fork":false,"pushed_at":"2019-08-13T02:07:27.000Z","size":27,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T18:09:00.840Z","etag":null,"topics":["amd","commonjs","convert","es6","module","tool"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/deepraining.png","metadata":{"files":{"readme":"README.en.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":"2019-08-09T11:55:12.000Z","updated_at":"2025-02-24T00:16:47.000Z","dependencies_parsed_at":"2022-09-11T05:20:30.122Z","dependency_job_id":null,"html_url":"https://github.com/deepraining/conv-mod","commit_stats":null,"previous_names":["senntyou/conv-mod"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fconv-mod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fconv-mod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fconv-mod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fconv-mod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepraining","download_url":"https://codeload.github.com/deepraining/conv-mod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610338,"owners_count":21132921,"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":["amd","commonjs","convert","es6","module","tool"],"created_at":"2024-11-15T06:42:30.435Z","updated_at":"2025-04-12T18:09:27.906Z","avatar_url":"https://github.com/deepraining.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# conv-mod\n\n[中文文档](./README.md)\n\nConvert JavaScript module from AMD or CommonJs to ES6.\n\n## quick start\n\nInstall:\n\n```\nnpm install conv-mod -g\n```\n\nUsage:\n\n```\nconv-mod [options] \u003cdir\u003e [extraDirs...]\n```\n\n## options\n\n- `-f, --filter \u003cfilter\u003e`: a query string to filter files\n- `-r, --regular`: regard query string as regular expression to filter files\n- `--amd`: convert AMD modules\n- `--cjs`: convert CommonJs modules\n\n## currently can not convert\n\n```\nconst a = require('a').default;\nconst {a, b} = require('a');\nconst a, {b, c} = require('a');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fconv-mod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepraining%2Fconv-mod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fconv-mod/lists"}