textra
v0.1.1
Published
Extra text effects!
Downloads
4
Readme
Textra!
Enable extra effects on your HTML text with the power of canvas!
npm install textra
Usage
const textra = require("textra");
const elements = Array.from(document.querySelectorAll("[data-textra]"));
elements.forEach(element => {
textra.enable(element);
});
Building
Building requires Node 5.0+.
npm install
gulp
Your browser will open and point to http://localhost:3000
, which will host test/index.html
and rebuild everything on the fly.
To build a release build, use
gulp --preset=es5
Output will be in the es5
directory.
License
Textra is available under the MIT license. See LICENSE.md for more details.