New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

no-op

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

no-op

one no-op function to rule them all

1.0.3
latest
Source
npm
Version published
Weekly downloads
6.3K
-42.53%
Maintainers
1
Weekly downloads
 
Created
Source

no-op

locked

Exports a function that does nothing.

var noop = require('no-op')

function foobar(cb) {
    cb = cb || noop
    cb('finished')
}

Usage

NPM

noop()

A function that does nothing.

see also

  • noop
  • nop
  • noop2

License

MIT, see LICENSE.md for details.

Keywords

noop

FAQs

Package last updated on 16 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts