{"library":"babel-plugin-tcomb","type":"library","category":null,"description":"Babel plugin that adds runtime type checking from Flow annotations using tcomb. Version 0.4.0, released 2020-09-05. This is the latest stable release; prior versions support Babel 6, latest supports Babel 7. Transforms Flow type annotations into runtime assertions via tcomb. Different from flow-remove-types or babel-plugin-transform-flow-strip-types because it keeps the type information for runtime validation. Works alongside Flow for hybrid static + dynamic checking. Supports refinement types, immutability enforcement, and IO boundary validation. Abandoned as of November 2021; no commits or releases since 0.4.0.","language":"javascript","status":"abandoned","version":"0.4.0","tags":["javascript","flow","babel","babel-plugin","tcomb","type-checking","types","runtime"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-tcomb","imports":["// .babelrc\n{\n  \"plugins\": [\"tcomb\"]\n}","import t from 'tcomb'","function add(a: number, b: number): number { return a + b; }"]},{"cmd":"yarn add babel-plugin-tcomb","imports":[]},{"cmd":"pnpm add babel-plugin-tcomb","imports":[]}],"homepage":null,"github":"https://github.com/gcanti/babel-plugin-tcomb","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-tcomb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-tcomb/compatibility"}}