Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
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

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
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