noop3

WebJar for noop3

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

noop3
Last Version

Last Version

1000.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

noop3
WebJar for noop3
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/noop3

Download noop3

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/noop3/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>noop3</artifactId>
    <version>1000.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/noop3/
implementation 'org.webjars.npm:noop3:1000.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/noop3/
implementation ("org.webjars.npm:noop3:1000.0.0")
'org.webjars.npm:noop3:jar:1000.0.0'
<dependency org="org.webjars.npm" name="noop3" rev="1000.0.0">
  <artifact name="noop3" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='noop3', version='1000.0.0')
)
libraryDependencies += "org.webjars.npm" % "noop3" % "1000.0.0"
[org.webjars.npm/noop3 "1000.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.


noop3


◻️ Supreme nothingness

Build Status Coverage Status

Install

$ npm install noop3

Usage

const noop = require('noop3');

function unicorn(fn) {
	fn = fn || noop;
	return fn('unicorn');
}
unicorn();

// Also compatible with non-mythical single horned creatures
function narwhal(fn) {
	fn = fn || noop;
	return fn('narwhal');
}
narwhal();

// Using the noop factory
const fn = require('noop3/factory');
const rainbow = fn();
const flowers = fn();
console.log(rainbow === flowers);
//=> false

rainbow();
//=> undefined

Related

License

MIT © Sindre Sorhus

Versions

Version
1000.0.0