runescape-text
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

RuneScape Text

Convert text to a text image with RuneScape chat effects.

Selling rune scimmy 15k
More examples
92 is half of 99
Free armor trimming!
Fun things are fun.
The quick brown fox jumps over the lazy dog
Lorem ipsum

Getting started

npm i runescape-text

If you're on Windows and installation fails due to issues with canvas, follow the instructions at https://github.com/Automattic/node-canvas/wiki/Installation:-Windows to install the necessary dependencies. You can find installation instructions for other operating systems in the same wiki.

Examples

npx runescape-text "glow3:wave:hello world"
import { writeFileSync } from "node:fs";

import getRuneScapeText from "runescape-text";

const message = "glow3:wave:hello world";
const options = { debug: true };
const { data, extension } = getRuneScapeText(message, options);

writeFileSync(`./runescape-text.${extension}`, Buffer.from(data));

References

Package Sidebar

Install

npm i runescape-text

Weekly Downloads

3

Version

3.1.0

License

MIT

Unpacked Size

66.4 kB

Total Files

34

Last publish

Collaborators

  • peterthehan