{"id":40607,"library":"autokin-html-formatter","title":"autokin-html-formatter","description":"A CucumberJS formatter that generates pretty HTML reports for test results. Version 0.1.0 is the initial release. It conforms to the Cucumber formatter API and outputs a standalone HTML file. Designed as the default formatter for Autokin framework, but can be used standalone with any cucumber-js project. Supports saving output to a custom file path.","status":"active","version":"0.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/autokinjs/autokin-html-formatter","tags":["javascript","autokin","cucumber","cucumberjs","testing","html","report","formatter","html reporter"],"install":[{"cmd":"npm install autokin-html-formatter","lang":"bash","label":"npm"},{"cmd":"yarn add autokin-html-formatter","lang":"bash","label":"yarn"},{"cmd":"pnpm add autokin-html-formatter","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency: requires cucumber >=3.0.0 to be installed.","package":"cucumber","optional":false}],"imports":[{"note":"The formatter is used via cucumber-js CLI, not imported in code. Use colon to specify output path.","wrong":"cucumber-js -f node_modules/autokin-html-formatter (missing colon-separated output file)","symbol":"(usage)","correct":"cucumber-js -f autokin-html-formatter:output.html"}],"quickstart":{"code":"npm install --save-dev cucumber autokin-html-formatter\n# Create a simple feature file\ncat <<'EOF' > features/sample.feature\nFeature: Sample\n  Scenario: Passing\n    Given a step\nEOF\n# Run cucumber with formatter\nnpx cucumber-js -f autokin-html-formatter:report.html","lang":"javascript","description":"Show how to install and use the formatter with cucumber-js to generate an HTML report."},"warnings":[{"fix":"Use absolute path or create directory before running cucumber-js.","message":"Output file path is relative to the current working directory, not the project root. Ensure directory exists before writing.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade cucumber-js to version 3.0.0 or later.","message":"Requires cucumber-js >=3.0.0. Older versions may not support custom formatters.","severity":"breaking","affected_versions":"cucumber <3.0.0"},{"fix":"Always use command line format flag.","message":"Formatters must be registered via the -f or --format CLI flag; importing the module directly in code will not work.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.1.0':17 'api':28 'autokin':2,41,63 'autokin-html-formatt':1 'conform':23 'cucumb':26,51,64 'cucumber-j':50 'cucumberj':6,65 'custom':59 'default':38 'design':35 'file':34,60 'formatt':4,7,27,39,69 'framework':42 'generat':9 'html':3,11,33,67,70 'initi':20 'javascript':62 'js':52 'output':30,56 'path':61 'pretti':10 'project':53 'releas':21 'report':12,68,71 'result':15 'save':55 'standalon':32,47 'support':54 'test':14,66 'use':46 'version':16","created_at":"2026-06-04T18:48:23.387813+00:00","updated_at":"2026-06-04T18:48:23.387813+00:00","problems":[{"fix":"Run npm install --save-dev autokin-html-formatter","cause":"Package not installed or not in node_modules.","error":"Could not find formatter 'autokin-html-formatter'"},{"fix":"Install cucumber@^3.0.0","cause":"Cucumber version < 3.0.0 not supported.","error":"Cannot read property 'format' of undefined"},{"fix":"Ensure target directory exists and is writable, or use an absolute path.","cause":"Lack of write permissions for output file path.","error":"EACCES: permission denied, open 'report.html'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/autokinjs/autokin-html-formatter#readme","github":"https://github.com/autokinjs/autokin-html-formatter","docs":null,"changelog":null,"pypi":null,"npm":"autokin-html-formatter","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}