How to check if file exists locally in JavaScript? -


I'm writing a plugin for some device and the API is javascript I need to know whether a file exists or No, and I want to avoid it from operating system calls, but if possible it is using the Javascript language.

Is it possible that if a file exists locally in Javascript, is there any way?

Any access to the file system is required through the API provided by the host environment.


Comments