8000 grial/utils at master · sergiodxa/grial · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Latest commit

 

History

History

utils

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@grial/utils

A module containing utility functions and helpers for Grial internal and users usage.

Modules

getConfig

You can importing using:

const { getConfig } = require('@grial/utils')
const getConfig = require('@grial/utils').getConfig
const getConfig = require('@grial/utils/getConfig.js')

This function receive a optional base path and return the grial.config.js in that path, if it doesn't exists return an empty object.

0