sfcode
An Online Competing and Development Environment
|
Reads and caches the entire contents of a file until it is modified.
Returns a promise that resolves with the file's contents.
Returns the content of the file.
Returns the content of cached file or null.
Clears the contents of the cache.
MIT © Bogdan Chadkin