Commands by name
origami:
basename(key)
Removes an extension from the key if present
origami:
The set of installed builtin functions
origami:
The current project’s configuration
origami:
Helpers for working with file extensions
origami:
json(obj)
Render the object in JSON format
origami:
jsonParse(text)
Parse text as JSON
origami:
A comparison function for natural sort order
origami:
once(fn)
Run the function only once, return the same result
origami:
ori(text)
Evaluate the text as an Origami expression
origami:
post(url, data)
POST the given data to the URL
origami:
The root folder for the current Origami project
origami:
regexMatch(text, regex)
Return matches of the regex in the text
origami:
repeat(n, obj)
An array of n copies of the object
origami:
shell(text)
Run the text as a shell command, return the output
origami:
Helpers for working with trailing slashes
origami:
Returns the content of the standard input stream
origami:
string(obj)
Coerce a buffer or document to a string
origami:
toFunction(obj)
Coerce a tree or packed function definition to a function
origami:
unpack(buffer)
Unpack the buffer into a usable form
origami:
version()
Return the version number of the Origami language
origami:
yaml(obj)
Render the object in YAML format
origami:
yamlParse(text)
Parse text as YAML