is-ascii

WebJar for is-ascii

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-ascii
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-ascii
WebJar for is-ascii
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/ariporad/is-ascii

Download is-ascii

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-ascii/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-ascii</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-ascii/
implementation 'org.webjars.npm:is-ascii:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/is-ascii/
implementation ("org.webjars.npm:is-ascii:1.0.0")
'org.webjars.npm:is-ascii:jar:1.0.0'
<dependency org="org.webjars.npm" name="is-ascii" rev="1.0.0">
  <artifact name="is-ascii" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-ascii', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "is-ascii" % "1.0.0"
[org.webjars.npm/is-ascii "1.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.

isAscii


Test if a string is 100% ascii.

npm version Build Status License: MIT


Why

I needed to see if a string was 100% ascii.


Usage

import isAscii from 'is-ascii';

isAscii('foo bar baz !?!!!!???? @#$%^&*(){}[]\|-_+=`~'); // true
isAscii('💩💩💩‽‽‽'); // false

License

MIT: http://ariporad.mit-license.org.

Versions

Version
1.0.0