@jasonhk/noop-package

A package that does absolutely nothing.

Usage no npm install needed!

<script type="module">
  import jasonhkNoopPackage from 'https://cdn.skypack.dev/@jasonhk/noop-package';
</script>

README

@jasonhk/noop-package

A package that does absolutely nothing.

npm-version-badge npm-download-badge npm-license-badge travis-build-badge codecov-coverage-badge

Motivation

In some circumstances, package bundlers might fail to remove modules that were not used. This package intended to be used as a placeholder module in those situations.

You can configure the bundler to use this package to replace the modules that were not able to remove. This way you can reduce the size of the package bundle.

Installation

NPM

$ npm install @jasonhk/noop-package

Yarn

$ yarn add @jasonhk/noop-package

License

Copyright © 2020 Jason Kwok.
Licensed under the Unlicense.