/deepnoop

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

Primary LanguageJavaScript

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