typesetbot-bin
v0.1.19
Published
Small project to dynamically typeset text on the web
Downloads
7
Readme
Installing
$ npm install typesetbot
or
$ git clone https://github.com/MGApcDev/TypesetBot.git
or
Just link it, no download! (see example)
Basic usage
<html>
<head>
<link rel="stylesheet" href="/dist/main.min.css">
<script type="text/javascript" src="/dist/mainWithPatterns.min.js"></script>
<script type="text/javascript">
TypesetBot.attach('body');
</script>
</head>
<body>
<p>Lorem ipsum...</p>
</body>
</html>
Dependencies
- jQuery --> jQuery write less, do more
- hypher --> A fast and small JavaScript hyphenation engine
- hyphenation-patterns --> Hyphenation patterns for use with Hypher
- Queue.js --> JavaScript queues
Copyright © 2017 Mathias Grundtvig Andreasen (MGApcDev).
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License