{"id":15450596,"url":"https://github.com/zhengsk/cjs-es6","last_synced_at":"2025-03-28T09:21:18.354Z","repository":{"id":57140904,"uuid":"181843139","full_name":"zhengsk/cjs-es6","owner":"zhengsk","description":"Convert javascript file from CommonJS type to ES6 type.","archived":false,"fork":false,"pushed_at":"2019-04-17T08:57:50.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T09:46:10.195Z","etag":null,"topics":[],"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/zhengsk.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":"2019-04-17T07:51:04.000Z","updated_at":"2019-04-18T01:36:08.000Z","dependencies_parsed_at":"2022-09-01T22:41:49.176Z","dependency_job_id":null,"html_url":"https://github.com/zhengsk/cjs-es6","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/zhengsk%2Fcjs-es6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengsk%2Fcjs-es6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengsk%2Fcjs-es6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengsk%2Fcjs-es6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhengsk","download_url":"https://codeload.github.com/zhengsk/cjs-es6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245999652,"owners_count":20707575,"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-10-01T21:06:40.713Z","updated_at":"2025-03-28T09:21:18.338Z","avatar_url":"https://github.com/zhengsk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cjs-es6\n\nConvert javascript file from CommonJS type to ES6 type.\n\n## Install\n\n```shell\nnpm install -S cjs-es6\n```\n\n```js\n  const cjsEs6 = require('cjs-es6');\n\n  const codeStr = 'module.exports = abc'\n  const result = cjsEs6(codeStr); // export default abc;\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhengsk%2Fcjs-es6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhengsk%2Fcjs-es6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhengsk%2Fcjs-es6/lists"}