useFile(fileName)
Returns three values:[value, loadFromFile, writeToFile]
UseloadFromFile
to force load value from file. UsewriteToFile
to write new value to the file.useJSONFile(fileName)
It's the same asuseFile()
but handles JSON conversion by itself and returns object invalue
- v1.0.0 - Initial Release
- v1.1.0 - Fix bug when working with several files
- v1.1.1 - Bugfix
- v1.1.2 - Bugfix
- v1.1.3 - Bugfix