this project was moved to https://github.com/zkochan/packages/tree/master/write-ini-file
Stringify and write ini to a file atomically
npm i -S write-ini-file
const writeIniFile = require('write-ini-file')
writeIniFile('foo.ini', {foo: true}).then(() => {
console.log('done')
})
Returns a promise.
Read more at the ini repo.
Type: number
Default 438
(0666 in octal)
Mode used when writing the file.
- read-ini-file - Read and parse an ini file
- ini - An ini parser/serializer in JavaScript