diff --git a/util/index.js b/util/index.js new file mode 100644 index 0000000..06aea6b --- /dev/null +++ b/util/index.js @@ -0,0 +1,5 @@ +const path = (path, obj) => path.reduce((result, segment) => result && result[segment], obj); + +module.exports = { + path, +};