Home Reference Source Repository
public class | source

Transformer

Apply transformer over a value

Constructor Summary

Public Constructor
public

constructor(path: string, transformer: function)

Member Summary

Public Members
public get

path: string: *

public get

Method Summary

Public Methods
public

transform(value: *): Promise

Public Constructors

public constructor(path: string, transformer: function) source

Params:

NameTypeAttributeDescription
path string
transformer function

Public Members

public get path: string: * source

Return:

string

public get transformer: function: * source

Return:

function

Public Methods

public transform(value: *): Promise source

Params:

NameTypeAttributeDescription
value *

Return:

Promise