官术网_书友最值得收藏!

Storing the string in a file

With the basics in place, let's take it just one step further, that is, by storing the string in a file. Then, we want to read the contents of that file back by using the fs module and printing some properties from it. This means that we'll need to convert the string that we get back from fs.readfilesync into an object using JSON.parse.

主站蜘蛛池模板: 金昌市| 富蕴县| 永济市| 聊城市| 古田县| 左权县| 普宁市| 原平市| 龙门县| 武川县| 西乌珠穆沁旗| 温宿县| 五河县| 郁南县| 兴业县| 集安市| 南城县| 阳山县| 通道| 长子县| 商丘市| 申扎县| 辽阳市| 柞水县| 共和县| 安新县| 牙克石市| 永川市| 新巴尔虎左旗| 铜陵市| 寻甸| 两当县| 长兴县| 阜南县| 会昌县| 嘉荫县| 高清| 靖州| 罗山县| 大港区| 西昌市|