Skip to content

Instantly share code, notes, and snippets.

@zerobugs-oficial
Created June 19, 2020 19:45
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/8e7c522cc39fca2bea0bb4919d660978 to your computer and use it in GitHub Desktop.
Save zerobugs-oficial/8e7c522cc39fca2bea0bb4919d660978 to your computer and use it in GitHub Desktop.
Criando e lendo nosso primeiro arquivo INI - 2
const fs = require('fs');
const ini = require('ini');
const config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'));
console.log(config.desenvolvimento);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment