{"id":24956,"library":"babel-plugin-ko-component","title":"babel-plugin-ko-component","description":"A Babel plugin that transpiles Knockout components from Standard Component Module format to Transition Component Module format. Current stable version is 0.0.4, with no recent releases or active maintenance visible. It is designed specifically for Knockout.js projects that follow the component module pattern. Differentiators: narrowly focused on Knockout component syntax transformation, but limited documentation and low community adoption.","status":"abandoned","version":"0.0.4","language":"javascript","source_language":"en","source_url":"https://github.com/differui/babel-plugin-ko-component","tags":["javascript","knockout","babel"],"install":[{"cmd":"npm install babel-plugin-ko-component","lang":"bash","label":"npm"},{"cmd":"yarn add babel-plugin-ko-component","lang":"bash","label":"yarn"},{"cmd":"pnpm add babel-plugin-ko-component","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This is a Babel plugin, not a runtime import. It is configured in Babel config, not imported in code.","wrong":"require('babel-plugin-ko-component')","symbol":"plugin","correct":"// In .babelrc: {\"plugins\": [\"ko-component\"]}"}],"quickstart":{"code":"{\n  \"plugins\": [\n    \"ko-component\"\n  ]\n}","lang":"javascript","description":"Shows how to add the plugin to Babel configuration (e.g., .babelrc or babel.config.js)."},"warnings":[{"fix":"Consider migrating to a modern framework or updating manually.","message":"Package is unmaintained since 2016.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Ensure Babel config file exists and plugin is listed.","message":"Plugin expects .babelrc file, not programmatic usage.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Verify your component syntax matches expected format.","message":"This plugin only works with Knockout components written in Standard Component Module format.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install --save-dev babel-plugin-ko-component'.","cause":"Plugin not installed or not in node_modules.","error":"Error: Cannot find module 'babel-plugin-ko-component'"},{"fix":"Ensure Babel version 6.x is used; this plugin may not work with Babel 7+.","cause":"Babel version incompatibility or wrong config format.","error":"SyntaxError: Unexpected token (component) when using plugin"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}