is-text-path

WebJar for is-text-path

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-text-path
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

is-text-path
WebJar for is-text-path
Project URL

Project URL

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

Source Code Management

https://github.com/sindresorhus/is-text-path

Download is-text-path

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : text-extensions jar [1.0.0,2)

Project Modules

There are no modules declared in this project.

is-text-path

Check if a file path is a text file

Install

$ npm install is-text-path

Usage

const isTextPath = require('is-text-path');

isTextPath('source/unicorn.txt');
//=> true

isTextPath('source/unicorn.png');
//=> false

Related


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Versions

Version
1.0.1