'use strict'/** * The is an example of Icon * @file example-usage.js */consttheIcon=require('@the-/icon')const{ Themes }=theIconasyncfunctiontryExample(){consttext='APE'constcolor='#EA1'awaittheIcon({
color,font: 'fonts/comicsans.ttf',
text,theme: Themes.SQUARE,}).saveAs('foo/square-icon.png')}tryExample().catch((err)=>console.error(err))