-
- Contains parsed Stores. See Store.
- Contains parsed global data.
-
-
Creates a file in the
distdirectory.pathRelative path to the generated file.templatePathRelative path to the template file.contextData available in the template.
-
Registers a macro function available in templates. Macro functions may accept parameters. Visit https://handlebarsjs.com/#helpers to learn more.
nameName of the macro.fnMacro function.
-
Prints log messages to the console.
...messagesMessages that will be printed to the console.
-
Prints warning messages to the console.
...messagesMessages that will be printed to the console.
-
Prints data to the console.
...dataData that will be printed to the console.
-
Prints data to the console and stops the execution.
...dataData that will be printed to the console.
-
Creates a file in the
-
-
Gets an array of all Records.
array
-
Gets a Record with the specified key.
keyKey of the requested Record.
Record
-
Gets a new Store with Records that pass the test.
fnFiltering function.
Store
-
Gets a new Store with Records where specified prop equals the provided value.
propName of the prop.valueDesired value.
Store
-
Gets an array of values of the specified prop.
propName of the prop.
array
-
Executes a provided function once for every Record.
fnProcessing function.
Store
-
Gets a new Store with with Records modified by provided function while retaining the keys.
fnProcessing function.
Store
-
Gets the size of the Store.
integer
-
Checks if the Store is empty.
boolean
-
Gets a new Store sorted using the provided comparison function.
fnComparison function.
Store
-
Gets a new Store sorted by the provided prop.
propProp name or function that returns a value to sort by
Store
-
Gets a new Store with Records in reversed order.
Store
-
Gets a new Store with the specified amount of Records.
sizeRequested size.
Store
-
Gets an array of Stores of the specified size. If the Store can't be split evenly, the final chunk will be the remaining Records.
sizeRequested chunk size.
array
-
Gets an object representation of the Store.
object
-
Gets a https://collect.js.org/ of Records.
object
-
Prints Store data to the console.
Store
- Prints Store data to the console and stops the execution.
-
Replaces Record key in the provided prop with an actual Record from the related Store.
relatedStoreRelated Store.propName of the prop.
-
Replaces Record keys in the provided prop with actual Records from the related Store.
relatedStoreRelated Store.propName of the prop.
-
Adds new prop to Records with a Record from the related Store that references this Record in its own specified prop.
relatedStoreRelated Store.relatedPropName of the prop containing reference to this Record.propName of the prop to add to this Record.
-
Adds new prop to Records with Records from the related Store that reference this Record in their own specified prop.
relatedStoreRelated Store.relatedPropName of the prop containing reference to this Record.propName of the prop to add to this Record.
-
Gets an array of all Records.
-
- Unique identifier of the Record.
- Property of the Record.
-
Creates a new Blego project.
project_directoryDirectory in which the project will be created.
- Builds project in the current directory.
-
Starts a web server from the
distdirectory.