How to use the adlib.listDependencies function in adlib

To help you get started, we’ve selected a few adlib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / adlib / adlib-tests.ts View on Github external
firstXform: transform1
};

const template = {
    value: '{{ instance.color }}'
};

const settings = {
    instance: {
        color: 'red'
    }
};

const interpolated = adlib.adlib(template, settings, transformsList);

const list: string[] = adlib.listDependencies(template);

adlib

Templating for deep JSON object graphs

Apache-2.0
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Popular adlib functions