dearu-logo-generator
v1.1.15
Published
A Yuusha de Aru series logo generator library for Node.js and browsers.
Downloads
12
Readme
dearu-logo-generator
A Yuusha de Aru series (勇者であるシリーズ) logo generator library for Node.js and browsers.
Install
npm i dearu-logo-generator
Usage
import { LogoGenerator, nowayu } from "dearu-logo-generator";
// or
const { LogoGenerator, nowayu } = require("dearu-logo-generator");
const lg = new LogoGenerator(nowayu, "horizontal");
const svg = lg.generate(
"乃木若葉は",
"勇者である",
[{ line: 1, start: 0, end: 1 }],
false
);
console.log(svg.outerHTML); // <svg viewBox="0 0 1280 720" xmlns=...
Current Supported Logo
- [x] NoWaYu
- [x] KuMeYu
- [x] WaSuYu
- [x] UHiMi
- [ ] YuYuYu