← Home

try-open

Tries to open a file using fs.openSync (only necessary with sync), fails gracefully if the file path does not exist on the file system. Since fs.existsSync has been deprecated, this can be used as an alternative.

4
Versions
MIT
License
No
Install Scripts

Maintainers

jonschlinkert

Keywords

opentry

Versions (showing 4 of 4)

Version Deps Published
0.1.3 0 / 2
0.1.2 0 / 2
0.1.1 0 / 2
0.1.0 0 / 1