@spongex/vue-encoded-message
v1.0.1
Published
Vue Encoded Message
Downloads
6
Readme
vue-encoded-message
Vue3 component for displaying an encoded message. Takes UTF-16 codes and displays them on a canvas. Useful for evading web scrapers.
Install to your existing project using:
npm i @spongex/vue-encoded-message
Include ECMAScript:
import { EncodedMessage } from '@spongex/vue-encoded-message'
Include CommonJS:
const { EncodedMessage } = require('@spongex/vue-encoded-message')
Usage
<EncodedMessage :message="[189, 43, 190, 61]" :size="32"/>
Properties
message
(required) Message to display as an array of UTF-16 codessize
(required) Size of the text in pixelspadding
(optional) Canvas padding in pixelsfont-face
(optional) CSS Font Face valuefont-color
(optional) CSS color value
Changelog
1.0.1
- Dependencies bump
1.0.0
- Initial release