is-path-in-cwd

WebJar for is-path-in-cwd

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-path-in-cwd
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-path-in-cwd
WebJar for is-path-in-cwd
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/is-path-in-cwd

Download is-path-in-cwd

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : is-path-inside jar [2.1.0,3)

Project Modules

There are no modules declared in this project.

is-path-in-cwd Build Status

Check if a path is in the current working directory

Install

$ npm install is-path-in-cwd

Usage

const isPathInCwd = require('is-path-in-cwd');

isPathInCwd('unicorn');
//=> true

isPathInCwd('../rainbow');
//=> false

isPathInCwd('.');
//=> false

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
2.1.0
1.0.1
1.0.0