'Creating a file using plain JavaScript [duplicate]

Is there any way to create files in plain JavaScript only?

Actually, I am using a static hosting provider (Neocities) and so I want a flat file system at least to store my records.

I can only work with plain JavaScript as Node JS in not supported.

I tried to use some functions from google searches but all of them were for client-side file generation.



Solution 1:[1]

It's not possible.

Learn what a client side and a server side application means really

While you can create file in client-side, there is no way you can save them

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 aymcg31