{"id":25826,"library":"karma-es6-transpiler-preprocessor","title":"karma-es6-transpiler-preprocessor","description":"A Karma preprocessor that transpiles ES6 JavaScript code to ES5 using es6-transpiler. Version 0.0.1, last updated in 2014. This package is essentially abandoned; es6-transpiler is no longer maintained, and modern projects should use Babel or TypeScript instead. It works only with Karma and requires no direct dependencies but relies on es6-transpiler being installed (though not listed as a peer dependency).","status":"deprecated","version":"0.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/ouhouhsami/karma-es6-transpiler-preprocessor","tags":["javascript","karma-plugin","karma-preprocessor"],"install":[{"cmd":"npm install karma-es6-transpiler-preprocessor","lang":"bash","label":"npm"},{"cmd":"yarn add karma-es6-transpiler-preprocessor","lang":"bash","label":"yarn"},{"cmd":"pnpm add karma-es6-transpiler-preprocessor","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Preprocessors value must be an array, not a string.","wrong":"module.exports = function(config) { config.set({ preprocessors: { '*.js': 'es6-transpiler' } }); };","symbol":"config.set({ preprocessors: { ... } })","correct":"module.exports = function(config) { config.set({ preprocessors: { '*.js': ['es6-transpiler'] } }); };"}],"quickstart":{"code":"// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    basePath: '',\n    frameworks: ['jasmine'],\n    files: ['src/**/*.js', 'spec/**/*.spec.js'],\n    preprocessors: {\n      'src/**/*.js': ['es6-transpiler'],\n      'spec/**/*.spec.js': ['es6-transpiler']\n    },\n    browsers: ['ChromeHeadless'],\n    singleRun: true\n  });\n};","lang":"javascript","description":"Shows how to configure Karma to use the es6-transpiler preprocessor for all JS files in source and spec directories."},"warnings":[{"fix":"Replace with karma-babel-preprocessor or @karma-typescript","message":"es6-transpiler is no longer maintained. Consider using Babel or TypeScript instead.","severity":"deprecated","affected_versions":">=0"},{"fix":"Ensure preprocessor values are arrays: ['es6-transpiler']","message":"The preprocessors value must be an array, not a string. Misconfiguration leads to silent failure.","severity":"gotcha","affected_versions":">=0"},{"fix":"Run 'npm install es6-transpiler --save-dev' in addition to this preprocessor","message":"es6-transpiler is not automatically installed as a dependency; you must install it separately.","severity":"gotcha","affected_versions":">=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 es6-transpiler --save-dev'","cause":"es6-transpiler is not installed.","error":"Error: Module \"es6-transpiler\" not found"},{"fix":"Ensure preprocessors key uses array format: '*.js': ['es6-transpiler']","cause":"Preprocessor setup is incorrect or missing.","error":"No provider for \"preprocessor:es6-transpiler\"!"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}