@underdash/noop

Doing nothing with high certainty.

Usage no npm install needed!

<script type="module">
  import underdashNoop from 'https://cdn.skypack.dev/@underdash/noop';
</script>

README

JavaScript Style Guide MIT license Build Passing Known Vulnerabilities Maintainability Test Coverage Node version

noop ○

Doing nothing with high reliability.

Philosophy

Doing nothing with an automated deployment pipeline and intensive testing procedures to absolutely positively make sure nothing is done, neither as effect, side-effect, nor internal effect, whilst also providing high code quality assurance. We're taking nothing serious.

Installation

  npm i @underdash/noop

Usage

The function can be called with no side effect and does nothing except for polluting your call stack. The return value is undefined.

  noop()

Any parameter you add will be safely ignored.

  noop(null) // same as noop(), but makes the code look hacky