exists-sync

WebJar for exists-sync

License

License

ISC
Categories

Categories

eXist Data Databases
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

exists-sync
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

exists-sync
WebJar for exists-sync
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/ember-cli/exists-sync

Download exists-sync

How to add to project

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

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.

exists-sync [DEPRECATED]

Build Status Build status

This project is deprecated, please continue to use fs.existsSync as its deprecation is no more.


Replacement for fs.existsSync() (which has been un-deprecated in Node.js since 6.8.0):

"fs.exists() is an anachronism and exists only for historical reasons. There should almost never be a reason to use it in your own code.

In particular, checking if a file exists before opening it is an anti-pattern that leaves you vulnerable to race conditions: another process may remove the file between the calls to fs.exists() and fs.open(). Just open the file and handle the error when it's not there."

exists-sync will recursively follow symlinks to verify the target file exists, rather than giving a false positive on a symlink whose target has been removed.

org.webjars.npm

ember-cli

Versions

Version
0.0.4