@blizzardbots/guild-emblem-generator

    1.3.0 • Public • Published

    Guild-Emblem-Generator

    The Guild-Emblem-Generator is a tool written in Node.js to convert emblem and guild objects obtained via the Battle.net API into actual images. You can convert the object into a buffer or a Canvas.

    Usage

    You can use the emblem generator a few different ways. As of 1.2.0, the helper classes have been exported as part of the module in case you wish to expand on the basic methods that are exported by default.

    For examples on how to use the base module, take a look in the examples folder where we have a file for each of the exported methods.

    SaveEmblemToFile options

    The options for the saveEmblemToFile() method are the same options available to the fs.writeFile() method that is present in node by default. For more information, please see the node.js documenation on the method.

    Install

    npm i @blizzardbots/guild-emblem-generator

    DownloadsWeekly Downloads

    1

    Version

    1.3.0

    License

    MIT

    Last publish

    Collaborators

    • deadlystrike
    • alcha