{"id":15021405,"url":"https://github.com/teppeis/espower-typescript-babel","last_synced_at":"2025-10-02T16:30:56.245Z","repository":{"id":57230538,"uuid":"45838051","full_name":"teppeis/espower-typescript-babel","owner":"teppeis","description":"power-assert instrumentor for TypeSciprt and Babel + mocha","archived":false,"fork":true,"pushed_at":"2016-02-26T15:12:08.000Z","size":57,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T19:56:06.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"power-assert-js/espower-babel","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teppeis.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":"2015-11-09T12:59:01.000Z","updated_at":"2021-03-09T04:26:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/teppeis/espower-typescript-babel","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teppeis%2Fespower-typescript-babel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teppeis%2Fespower-typescript-babel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teppeis%2Fespower-typescript-babel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teppeis%2Fespower-typescript-babel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teppeis","download_url":"https://codeload.github.com/teppeis/espower-typescript-babel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235019326,"owners_count":18923344,"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-09-24T19:56:32.605Z","updated_at":"2025-10-02T16:30:50.981Z","avatar_url":"https://github.com/teppeis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# espower-typescript-babel (experimental)  [![NPM version][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url]\n\npower-assert instrumentor for TypeScript and Babel\n\n1. Transpile from TypeScript to ES6 with typescript-simple\n2. Transpile from ES6 to ES5 with babel\n3. Instrument with power-assert\n4. Run tests\n\n## Why?\n\n* TypeScript cannot transpile some features (generator, async/await) to ES5\n* Babel can do it\n* Zero configuration and zero temporary file for power-assert\n\n## Usage\n\nPut `tsconfig.json` (target: ES6) and `.babelrc` in your project root, then\n\n```bash\n$ npm i -D espower-typescript-babel\n$ mocha --compilers ts:espower-typescript-babel/guess test/**/*.ts\n```\n\nAlso you need to `npm i -D babel-preset-es2015`, if you use babel presets like `babel-preset-es2015` in `.babelrc`.\n\n## License\n\nMIT License: Teppei Sato \u0026lt;teppeis@gmail.com\u0026gt;\n\n[npm-image]: https://img.shields.io/npm/v/espower-typescript-babel.svg\n[npm-url]: https://npmjs.org/package/espower-typescript-babel\n[travis-image]: https://travis-ci.org/teppeis/espower-typescript-babel.svg?branch=master\n[travis-url]: https://travis-ci.org/teppeis/espower-typescript-babel\n[deps-image]: https://david-dm.org/teppeis/espower-typescript-babel.svg\n[deps-url]: https://david-dm.org/teppeis/espower-typescript-babel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteppeis%2Fespower-typescript-babel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteppeis%2Fespower-typescript-babel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteppeis%2Fespower-typescript-babel/lists"}