kiwi-webpack-plugin weekly downloads statistics
By stoand · npm · Webpack plugins
Test Runner for Webpack and the Kakoune editor
kiwi-webpack-plugin has 35 recorded weekly downloads on npm, ranking #2037 of 2,855 tracked listings.
About kiwi-webpack-plugin
Kiwi - Javascript Test Runner for Kakoune
Warning: This tool is under development. Breaking changes make occur anytime and some functionality might not be well tested. Do not rely on it for anything other than experiments.
Supports only Webpack 4 not 5
Getting Started Guide
(if using the chrome runner) A recent Google Chrome browser should be installed
Version 12 or greater of NodeJS should be installed
The Kakoune Editor should be installed
Python and Virtualenv should be installed (only needed for review app)
# A new webpack app
mkdir app1
cd app1
mkdir src
npm init
# Install the plugin and related dependencies
npm i kiwi-webpack-plugin webpack@4 webpack-cli webpack-dev-server chai
create webpack.config.js
const KiwiPlugin = require('kiwi-webpack-plugin');
module.exports = {
entry: './src/index.js',
// target: 'node', // use this if using the 'node' runner
// Enable source maps
devtool: 'source-map',
plugins: [
new KiwiPlugin({
testEntry: './src/tests.js',
// Run the chrome browser instance in headless mode (in background without window)
headless: true,
// when building once (not watching) do process.exit(1)
// if any tests failed
stopBuildOnFail: true,
runner: 'chrome', // can also be 'node'
}),
],
}
create src/index.js
export function someFunction() {
return 1234;
};
create src/tests.js
import { expect } from 'chai';
import { someFunction } from './index';
describe('Test Module', () => {
it('test addition', () => {
expect(1233 + 1).to.equal(someFunction());
});
});
add to package.json
"scripts": {
"start": "webpack-dev-server -w"
},
finally, run
npm start
and in another shell tab open src/tests.js in Kakoune
kak src/tests.js
Usage with Typescript
Install types - only the "describe" and "it" jasmine-like globals are supported
npm i @types/jasmine @types/chai
add to tsconfig.json
{
"compilerOptions": {
"sourceMap": true
...
Usage with HtmlWebpackPlugin
Add excludeChunks: ['kiwi-tests'] like so:
{
plugins: [
new HtmlWebpackPlugin({
title: 'App',
excludeChunks: ['kiwi-tests'],
}),
new KiwiPlugin({ testEntry: './src/tests.js', headless: true }),
],
}
Developing the library
Run npm start.
Run an example in the examples dir.
or for console.log debugging:
add console.log(1) in a source file
Kakoune Interface Tests
Replace kakoune_interface_tests with the test file of choice if needed.
npm i; npm start
# In another shell session
npm i -g nodemon
nodemon dist/kakoune_interface_tests.js
# or
nodemon dist/unit_tests.js
Using Kakoune Interface Tests:
edit src/kakoune_interface_tests.ts
The test file itself is used to display interface items
Unit Tests
# Build the minimal example with source maps
(cd examples/minimal && npm i && npm run build)
npm i
npm test
Description from the npm listing.
- kiwi
- test-runner
- tests
- javascript
- typescript
- kakoune
- kakoune-plugin
- webpack
- webpack-plugin
- plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (1)Similar npm Webpack plugins plugins
All 20 kiwi-webpack-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/kiwi-webpack-plugin. First seen Nov 5, 2026; last successful collection Nov 5, 2026. See the methodology.