[SOLVED] Can I manipulate files in JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

[SOLVED] Can I manipulate files in JavaScript?

I would know if I can manipulate files like creating and editing in JavaScript. Thanks

5th May 2020, 4:54 PM
Orango Mango
Orango Mango - avatar
4 Answers
+ 5
Yes, we can. You can read files using the <input type=file> HTML Tag in browsers but you won't be able to edit real files that way. Using a back-end environment we can completely manipulate files. Using Node: https://www.sololearn.com/learn/10257/?ref=app https://www.sololearn.com/learn/9660/?ref=app Also I think there are some browser plugins to work with files but I can't remember.
5th May 2020, 5:26 PM
Kevin ★
+ 4
Orango Mango Yes we can work with file in Javascript. We can get properties of file in Javascript. But I don't think we can create or edit file with JavaScript https://javascript.info/file
5th May 2020, 4:59 PM
A͢J
A͢J - avatar
+ 2
No way in sololearn but u can do that using nest. Js Search for its tutorial online
5th May 2020, 4:55 PM
Abhay
Abhay - avatar
0
Abhay No need if on sololearn or not, i would try it in a browser
5th May 2020, 4:57 PM
Orango Mango
Orango Mango - avatar