Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/julien-c/deepnoop

Noop object with arbitrary number of nested attributes that are also noop.
https://github.com/julien-c/deepnoop

Last synced: about 16 hours ago
JSON representation

Noop object with arbitrary number of nested attributes that are also noop.

Awesome Lists containing this project

README

        

### Deepnoop

Noop object with arbitrary number of nested attributes that are also noop.

```bash
npm i deepnoop
```

#### How to use

```js
import { deepNoop } from 'deepnoop';

const noop = deepNoop();
noop(); // => undefined
noop.noop(); // => undefined
noop.noop.noop.test.foo.bar(); // => undefined
```