{"id":17794186,"url":"https://github.com/pyk/typescript-esm-cjs","last_synced_at":"2025-04-02T02:21:20.248Z","repository":{"id":60673577,"uuid":"544408546","full_name":"pyk/typescript-esm-cjs","owner":"pyk","description":"Tutorial on how to create ESM and CJS library with one TypeScript codebase","archived":false,"fork":false,"pushed_at":"2022-10-02T12:03:26.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T10:02:54.735Z","etag":null,"topics":["cjs","commonjs","ecmascript","esm"],"latest_commit_sha":null,"homepage":"https://pyk.sh/tutorials/how-to-create-ecmascript-and-commonjs-library-with-typescript/","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/pyk.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":"2022-10-02T12:01:43.000Z","updated_at":"2022-10-02T12:04:25.000Z","dependencies_parsed_at":"2022-10-03T01:20:19.703Z","dependency_job_id":null,"html_url":"https://github.com/pyk/typescript-esm-cjs","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/pyk%2Ftypescript-esm-cjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Ftypescript-esm-cjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Ftypescript-esm-cjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Ftypescript-esm-cjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyk","download_url":"https://codeload.github.com/pyk/typescript-esm-cjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741315,"owners_count":20826104,"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":["cjs","commonjs","ecmascript","esm"],"created_at":"2024-10-27T11:15:25.324Z","updated_at":"2025-04-02T02:21:20.226Z","avatar_url":"https://github.com/pyk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is an example of npm package that can be used as [ECMAScript][2] Module\n(via `import`) and [CommonJS][3] library (via `require`). This npm package is\nwritten in [TypeScript programming languages][4].\n\nSee complete tutorial: [How to create ECMAScript and CommonJS library with\nTypeScript][1].\n\n[1]:\n    https://pyk.sh/tutorials/how-to-create-ecmascript-and-commonjs-library-with-typescript/\n[2]: https://pyk.sh/questions/what-is-ecmascript-es/\n[3]: https://pyk.sh/questions/what-is-commonjs-cjs/\n[4]: https://pyk.sh/questions/what-is-typescript/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyk%2Ftypescript-esm-cjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyk%2Ftypescript-esm-cjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyk%2Ftypescript-esm-cjs/lists"}