package
Getting config from file
npm install get-cffGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 4 packages.
2.0 MB
Includes dependencies.
Getting config from file
Auto detect type file and import config from file. Support:
npm i -S get-cffNote: This project is compatible with node v6+
import getCff from 'get-cff';
getCff('path/to/config/file')
.then(config => {
console.log(config);
});
Returns config object {property: value}
pathType: string
Default: ''
Description: path to you config file