0.1.0 • Published 6 years ago

exists-sync v0.1.0

Weekly downloads
274,164
License
ISC
Repository
github
Last release
6 years ago

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.

ember-cli-zesty-app-basegaba-basefastboot-ryanone@infinitebrahmanuniverse/nolb-exilicker@everything-registry/sub-chunk-1628universal-cliwmmihaa-microservicebus-coreember-mix-module-migratorember-materialize-shimember-selenium-buildember-cli-testem-http-mocksember-cli-yaml-configember-intl-twitchember-cli-typescript-blueprintsember-cli-test-addons-in-appember-fastboot-serverember-pluploadember-watsonember-data-background-adaptersember-es-class-generatorsember-cli-unitz-shimember-module-migratoreaterecmascript-version-detector@retail-architects/ember-data@vazgentigranich/parlor-glimmer-application-pipelineember-captureember-addon-genieember-cli-fastboot-dotenvember-cli-envyember-cli-fraction-shimember-cli-internal-test-helpersember-cli-legacy-blueprintsember-cli-mathjs-shimember-cli-lolmaus-blueprintsember-cli-mvember-cli-nacho-coverageember-cli-pluploadember-cli-quantities-shimember-cli-ajhember-cli-cmsember-cli-code-coverage-tsember-cli-custom-blueprintsdriven-clifugasapienteangular-cliangular-cli-koco@zalastax/nolb-exigh-pages-deploy-cmdgh-pages-deploy-shmachinepack-aes256md-splitterglimmer-v1-application-pipelineglimmer-application-pipelineglimmer-application-pipeline-mszglimmer-engineblprntnest-cli@felixrieseberg/ember-service-workermarkdown-splittermigrate-espower-babel-to-babel-plugin-espowermigrate-espower-babel-to-babel-preset-power-assertatomable@boundless-inc/mobiledoc-dom-rendereravaility-workflow-angularavaility-workflow-reactavaility-workflow-settings@ember-intl/polyfillbroccoli-multi-builder@crshoverride/react-clibroccoli-tslinterbeater-cligladglad-clicropngng-cli-2rwjblue-glammer-enginereactor-cli@glimmer/application-pipelineodioomnis@jakenewby/ember-cli@jasonmit/ember-cli-dotenvsnakeskin-clisnakeskinifypolyfill-servicespelly@movable/ember-cli-mirage@movable/cli
0.1.0

6 years ago

0.0.4

7 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago