all repos — archive/homestead @ 2fef943bf1c52e8d2be64521202936ca0f7358e3

My future indieweb platform

feat: use configly/TOML for configuration

Alan Pearce
commit

2fef943bf1c52e8d2be64521202936ca0f7358e3

parent

e13c5726846a89df4196f6abc9fc98d99d48305b

1 file changed, 10 insertions(+), 0 deletions(-)

changed files
A src/modules/config.js
@@ -0,0 +1,10 @@
+'use strict' + +const TOML = require('toml') +const config = require('configly') + +module.exports = config({ + parsers: { + toml: TOML.parse + } +})