Skip to content

Instantly share code, notes, and snippets.

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