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.
[email protected] low health (48/100) — consider alternatives
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/npm/try-openFirst published · 2015-12-20T08:43:41.311Z
Last updated · 2016-04-09T05:17:03.595Z