@heroku/function-toml
v0.0.3
Published
function.toml specification and validator
Downloads
2,774
Maintainers
Keywords
Readme
function-toml
function.toml specification and validation for Salesforce Functions (f.k.a. evergreen)
Usage
import { FunctionToml } from '@heroku/function-toml';
const fntoml = new FunctionToml();
fntoml.parseFile('/tmp/function.toml').then((data) => {
console.dir(data)
});
fntoml.parseData({function: { label: 'verybestfunction'}}).then((data) => {
console.dir(data)
});