Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Latest commit

 

History

History
35 lines (24 loc) · 1.59 KB

File metadata and controls

35 lines (24 loc) · 1.59 KB

JavaScript Style Guide MIT license Build Passing Known Vulnerabilities Maintainability Test Coverage NPM 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