@vestaboard/vbml
v1.3.4
Published
The Vestaboard markup language
Readme
VBML - Vestaboard Markup Language
Installation
JavaScript / TypeScript
yarn install @vestaboard/vbmlor
npm i @vestaboard/vbmlPython
pip install pyvbmlPHP
composer require vestaboard/vbmlUsage
JavaScript / TypeScript
import { vbml } from "@vestaboard/vbml";
// Generate an array of 6 rows of 22 character codes representing the template
const characters = vbml.parse({
components: [
{
style: {
justify: "center",
align: "center",
},
template: "Hello World!",
},
],
});Python
from pyvbml import 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!",
}
]
})PHP
use Vestaboard\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
