{"id":42069,"library":"tap-nunit","title":"tap-nunit","description":"tap-nunit is an alpha-quality formatter that converts Test Anything Protocol (TAP) output into nUnit-compatible XML format. Current stable version 0.0.3, with irregular releases. It parses standard TAP streams from test runners and produces XML output for integration with nUnit-based reporting tools. Limited to small test suites due to performance and stability issues. Minimal configuration required, but not recommended for production use.","status":"deprecated","version":"0.0.3","language":"javascript","source_language":"en","source_url":"https://github.com/denodell/tap-nunit","tags":["javascript","tap","nunit"],"install":[{"cmd":"npm install tap-nunit","lang":"bash","label":"npm"},{"cmd":"yarn add tap-nunit","lang":"bash","label":"yarn"},{"cmd":"pnpm add tap-nunit","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"TAP stream parsing","package":"tap-parser","optional":false}],"imports":[{"note":"Default export is a class; CommonJS require needs .default","wrong":"const NUnitFormatter = require('tap-nunit').default;","symbol":"NUnitFormatter","correct":"import NUnitFormatter from 'tap-nunit'"},{"note":"Named export exists; direct destructure from require works","wrong":"const { format } = require('tap-nunit');","symbol":"format","correct":"import { format } from 'tap-nunit'"}],"quickstart":{"code":"import NUnitFormatter from 'tap-nunit';\nimport fs from 'fs';\n\nconst tapData = fs.readFileSync('test.tap', 'utf8');\nconst formatter = new NUnitFormatter();\nconst nunitOutput = formatter.format(tapData);\nfs.writeFileSync('test-results.xml', nunitOutput);\nconsole.log('Converted TAP to nUnit XML');","lang":"typescript","description":"Reads TAP output from a file, converts to nUnit XML, and saves the result."},"warnings":[{"fix":"Consider using a stable alternative like tap-junit or tap-xunit.","message":"Marked as alpha; not recommended for production use.","severity":"deprecated","affected_versions":"<1.0.0"},{"fix":"Seek alternative packages for TAP to nUnit conversion.","message":"Package has not been updated in over 5 years; likely abandoned.","severity":"deprecated","affected_versions":"<=0.0.3"}],"env_vars":null,"search_vec":"'0.0.3':29 'alpha':10 'alpha-qu':9 'anyth':16 'base':50 'compat':23 'configur':65 'convert':14 'current':26 'due':58 'format':25 'formatt':12 'integr':46 'irregular':31 'issu':63 'javascript':73 'limit':53 'minim':64 'nunit':3,6,22,49,75 'nunit-bas':48 'nunit-compat':21 'output':19,44 'pars':34 'perform':60 'produc':42 'product':71 'protocol':17 'qualiti':11 'recommend':69 'releas':32 'report':51 'requir':66 'runner':40 'small':55 'stabil':62 'stabl':27 'standard':35 'stream':37 'suit':57 'tap':2,5,18,36,74 'tap-nunit':1,4 'test':15,39,56 'tool':52 'use':72 'version':28 'xml':24,43","created_at":"2026-06-04T18:55:28.116615+00:00","updated_at":"2026-06-04T18:55:28.116615+00:00","problems":[],"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/denodell/tap-nunit#readme","github":"https://github.com/denodell/tap-nunit","docs":null,"changelog":null,"pypi":null,"npm":"tap-nunit","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}}