Skip to content

Instantly share code, notes, and snippets.

@zerobugs-oficial
Created June 19, 2020 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zerobugs-oficial/bc0b7f659f62909947eaf35aaa042830 to your computer and use it in GitHub Desktop.
Save zerobugs-oficial/bc0b7f659f62909947eaf35aaa042830 to your computer and use it in GitHub Desktop.
Criando e lendo nosso primeiro arquivo INI - 4
config.desenvolvimento.ip = '127.0.0.1';
config.producao.porta = '3308';
config.producao.novaChave = 'Esta é uma nova chave!'
fs.writeFileSync('./config_modified.ini', ini.stringify(config))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment