qansigliere-fs-utils
v2026.3.9
Published
The main idea of this library, created in JavaScript, is to provide a ready-made set of methods for creating and updating files.
Maintainers
Readme
FileSystem
The main idea of this library, created in JavaScript, is to provide a ready-made set of methods for creating and updating files.
Author
https://www.youtube.com/@QANSIGLIERE/
Support the project
https://buymeacoffee.com/qansigliere
Installation
Using npm: npm i qansigliere-fs-utils
Functions
createFileFromString(fileName, stringValue)- it allows to save any string information into a new file.saveBase64AsImage(pngBase64String, pathToFile)- it allows to save any Base64 string as a new .PNG filefileExists(pathToFile)- the function returns true if the provided file exists and false if it doesn't existdeleteFile(pathToFile)- it allows to delete the specific filereadFile(pathToFile, encoding)- it allows to read the specific file
Improvements & Suggestions
https://forms.gle/GZbS9hw42tSYJxKL7
