Methods
(static) dump(config) → {string}
Convert JSON object to Yaml string.
Parameters:
Name | Type | Description |
---|---|---|
config |
Object |
- Source:
Returns:
yaml string value
- Type
- string
(static) load(ymlPath) → {Object}
Load a yaml file into JavaScript object.
Parameters:
Name | Type | Description |
---|---|---|
ymlPath |
cp~PathSegments |
- Source:
Returns:
yaml file properties
- Type
- Object