From 49c5af0c523fc03c8a9ba55a9b8b955ebb973645 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 19 Dec 2015 10:19:50 -0800 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a11b208..7699f40 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,12 @@ npm install --save pyconf ```javascript var pyconf = require('pyconf'); -# alias for fs.readFile() then pyconf.parse() +// alias for fs.readFile() then pyconf.parse() pyconf.readFile("/path/to/foo.conf", function (err, obj) { console.log(obj); }); +// alias for pyconf.stringify() then safeReplace.writeFile() pyconf.writeFile("/path/to/foo.conf", obj, function (err, obj) { console.log("wrote file"); });