0.1.0 • Published 7 years ago

exists-sync v0.1.0

Weekly downloads
274,164
License
ISC
Repository
github
Last release
7 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-1628wmmihaa-microservicebus-corereactor-clispellymigrate-espower-babel-to-babel-plugin-espowermigrate-espower-babel-to-babel-preset-power-assertgh-pages-deploy-cmdgh-pages-deploy-shgladglad-cliglimmer-application-pipelineglimmer-application-pipeline-mszglimmer-engineglimmer-v1-application-pipelinemarkdown-splittermd-splittermachinepack-aes256polyfill-serviceodioomnisng-cli-2nest-clisnakeskin-clisnakeskinifyrwjblue-glammer-engine@boundless-inc/mobiledoc-dom-renderer@crshoverride/react-cliuniversal-cli@felixrieseberg/ember-service-worker@ember-intl/polyfill@glimmer/application-pipeline@movable/cli@movable/ember-cli-mirage@jakenewby/ember-cli@jasonmit/ember-cli-dotenv@retail-architects/ember-dataangular-cli-kocoangular-cliatomableavaility-workflow-angularavaility-workflow-reactavaility-workflow-settingsbeater-cliblprnt@vazgentigranich/parlor-glimmer-application-pipeline@zalastax/nolb-exibroccoli-tslinterbroccoli-multi-buildereaterdriven-cliecmascript-version-detectorember-cli-ajhember-cli-internal-test-helpersember-addon-genieember-cli-fraction-shimember-cli-lolmaus-blueprintsember-cli-legacy-blueprintsember-cli-mathjs-shimember-cli-envyember-captureember-cli-fastboot-dotenvember-cli-yaml-configember-cli-cmsember-cli-code-coverage-tsember-cli-pluploadember-module-migratorember-watsonember-selenium-buildember-pluploadember-materialize-shimember-cli-test-addons-in-appember-cli-testem-http-mocksember-data-background-adaptersember-mix-module-migratorember-cli-mvember-cli-nacho-coverageember-cli-typescript-blueprintsember-cli-unitz-shimember-intl-twitchember-cli-custom-blueprintsember-cli-quantities-shimember-es-class-generatorsember-fastboot-servercropngfugasapiente
0.1.0

7 years ago

0.0.4

8 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago