# noop3

> ◻️ Supreme nothingness

Latest version **1000.0.0** (published 2018-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install noop3
pnpm add noop3
yarn add noop3
bun add noop3
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1000.0.0 |
| Published | 2018-08-31 |
| First published | 2015-12-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 184 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | noop, no-op, empty, nothing, function, func, fn |

## Links

- npm: https://www.npmjs.com/package/noop3
- Repository: https://github.com/sindresorhus/noop3
- Homepage: https://github.com/sindresorhus/noop3#readme
- Issues: https://github.com/sindresorhus/noop3/issues
- npm.io page: https://npm.io/package/noop3

## Recent versions

- 1000.0.0 (latest) — 2018-08-31
- 999.999.999 — 2017-03-07
- 13.8.1 — 2016-06-23
- 13.8.0 — 2016-04-20
- 13.7.2 — 2015-12-10

## README

<h1 align="center">
	<br>
	<img width="500" src="logo.png" alt="noop3">
	<br>
	<br>
	<br>
</h1>

> ◻️ Supreme nothingness

[![Build Status](https://travis-ci.org/sindresorhus/noop3.svg?branch=master)](https://travis-ci.org/sindresorhus/noop3) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/noop3/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/noop3?branch=master)

![](https://cloud.githubusercontent.com/assets/170270/11731042/eba6ffc6-9f98-11e5-8d7d-7890dbc394c5.gif)


## Install

```
$ npm install noop3
```


## Usage

```js
const noop = require('noop3');

function unicorn(fn) {
	fn = fn || noop;
	return fn('unicorn');
}
unicorn();

// Also compatible with non-mythical single horned creatures
function narwhal(fn) {
	fn = fn || noop;
	return fn('narwhal');
}
narwhal();

// Using the noop factory
const fn = require('noop3/factory');
const rainbow = fn();
const flowers = fn();
console.log(rainbow === flowers);
//=> false

rainbow();
//=> undefined
```


## Related

- [noop-cli](https://github.com/sindresorhus/noop-cli) - CLI for this module
- [noop2](https://github.com/yoshuawuyts/noop2) - Prior art


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)

---
_Source: https://npm.io/package/noop3 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
