Created
June 19, 2020 19:45
-
-
Save zerobugs-oficial/8e7c522cc39fca2bea0bb4919d660978 to your computer and use it in GitHub Desktop.
Criando e lendo nosso primeiro arquivo INI - 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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