conf
conf copied to clipboard
Show example in readme of loading package.json when targeting Node.js 18
import Conf from 'conf';
import packageJson from './package.json' assert {type: 'json'};
const config = new Conf({projectName: packageJson.name});