This package has been deprecated

Author message:

This has a lack of customization and uses an external website to grab, causing extra latency. I personally recommend using minimessage-js (https://www.npmjs.com/package/minimessage-js) instead.

minimessage-2-html
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

Minimessage-2-HTML

This package converts the MiniMessage format into HTML, which can be used for showing MOTD's etc.

Usage

var miniMessage = require("minimessage-2-html")
var motd = "<red>hello world</red>";

miniMessage.parseToHTML(motd).then((m) => {
  console.log(m)
})

Readme

Keywords

none

Package Sidebar

Install

npm i minimessage-2-html

Weekly Downloads

28

Version

1.6.0

License

ISC

Unpacked Size

12.6 kB

Total Files

5

Last publish

Collaborators

  • las328