The Form-Builder API

Utilties (Lodash)

Your code has access to the Lodash utility library, to paper over areas where the Javascript standard library is lacking or overly verbose. You can call any Lodash function using the _ global variable:

let colors = ['Red', 'Green',  'Yellow', 'Blue', 'Lilac'];
await form.multi('What are your favorite colors?', _.shuffle(colors));

We provide Lodash version 4.17.21, which is extensively documented at: