deepnoop

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

Downloads
5
Stars
6
Committers
1

Deepnoop

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

npm i deepnoop

How to use

import { deepNoop } from 'deepnoop';

const noop = deepNoop();
noop();                            // => undefined
noop.noop();                       // => undefined
noop.noop.noop.test.foo.bar();     // => undefined
Package Rankings
Top 24.03% on Npmjs.org