D
D
Dmitry Petrov2015-12-13 20:33:53
JavaScript
Dmitry Petrov, 2015-12-13 20:33:53

How to implement work with txt files on NW.js?

Hello. I started to master NW.js and then it became necessary to read / write data to a txt file.
How to do it correctly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yaroslav Lyzlov, 2015-12-13
@dixoNich

Just like on nodejs.

D
Dmitry Belyaev, 2015-12-14
@bingo347

var fs = require('fs');and so on
ps I recommend looking in the direction of Electron, it will be better nw, and it works with a node from your OS, and not with the one that is wired inside, like nw

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question