Skip to content

Repository files navigation

VBML - Vestaboard Markup Language

Installation

JavaScript / TypeScript

yarn install @vestaboard/vbml

or

npm i @vestaboard/vbml

Python

pip install pyvbml

PHP

composer require vestaboard/vbml

Usage

JavaScript / TypeScript

import{vbml}from"@vestaboard/vbml";// Generate an array of 6 rows of 22 character codes representing the templateconstcharacters=vbml.parse({components: [{style: {justify: "center",align: "center",},template: "Hello World!",},],});

Python

frompyvbmlimportvbml# Generate an array of 6 rows of 22 character codes representing the templatecharacters=vbml.parse({
"components": [
{
"style": {
"justify": "center",
"align": "center",
},
"template": "Hello World!",
}
]
})

PHP

useVestaboard\Vbml\Vbml;
// Generate an array of 6 rows of 22 character codes representing the template$characters = Vbml::parse([
'components' => [
[
'style' => [
'justify' => 'center',
'align' => 'center',
],
'template' => 'Hello World!',
],
],
]);

Docs

Full documentation is available at https://docs.vestaboard.com/docs/vbml

About

🌐 A polyglot package to parse VBML to Vestaboard character arrays

Topics

Resources

Stars

6 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages