A standalone version of the Tape test runner bundled specifically for use with Rollup. Version 4.6.4 is the current stable release. The package is a thin wrapper that re-exports Tape's core functionality (test, skip, only, etc.) in a way that is compatible with Rollup's ES module resolution. Key differentiator: eliminates the need for Node.js built-in module polyfills when using Tape with Rollup. Release cadence is sporadic, with the last update in 2018. Only suitable for projects using Rollup as their build system.
npm install tape-rollupVerified import paths — ran on the pinned version, not inferred.
Basic usage: import default function 'test' and write a simple test assertion.
Use 'import test from "tape-rollup"' with an ESM-compatible environment or bundler.
Consider using the 'tape' package directly with proper Rollup configuration for Node built-in modules.
Use named import syntax: import { skip } from 'tape-rollup'Run 'npm install tape-rollup' and ensure the import matches the package name.
Change to 'import test from "tape-rollup"' (default import).
Use ES module import syntax: 'import test from "tape-rollup"'