Lines Matching refs:ini
1 An ini format parser and serializer for node.
8 Consider an ini-file `config.ini` that looks like this:
24 You can read, manipulate and write the ini-file like so:
27 , ini = require('ini')
29 var config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'))
37 fs.writeFileSync('./config_modified.ini', ini.stringify(config, { section: 'section' }))
39 This will result in a file called `config_modified.ini` being written
60 Decode the ini-style formatted `inistring` into a nested object.
68 Encode the object `object` into an ini-style formatted string. If the
76 ini data. Defaults to none.
92 value in an ini-file. Basically escapes quotes. For example
94 ini.safe('"unsafe string"')