hey-listen

WebJar for hey-listen

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

hey-listen
Last Version

Last Version

1.0.8
Release Date

Release Date

Type

Type

jar
Description

Description

hey-listen
WebJar for hey-listen
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/InventingWithMonster/hey-listen

Download hey-listen

How to add to project

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

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.

Hey, Listen!

Dev-ex warning functions with added childhood flashbacks

npm version npm downloads Twitter Follow Join the community on Spectrum

Hey, Listen! provides simple versions of the popular warning and invariant dev-experience functions.

The library checks against process.env.NODE_ENV to minify away messages in production.

Install

npm

npm install hey-listen

Yarn

yarn add hey-listen

Usage

warning

import { warning } from 'hey-listen';

warning(false, 'Warning message'); // console.warn "Warning message"

invariant

import { invariant } from 'hey-listen';

invariant(false, 'Error message'); // throws "Error message"

Versions

Version
1.0.8
1.0.5