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);


Templating for deep JSON object graphs

Latest version published 12 months ago

Package Health Score

65 / 100
Full package analysis

Popular adlib functions