localFont
localFont copied to clipboard
Implement localStorage web font caching in seconds
localFont
Implement localStorage web font caching in seconds.
Read the article.
localFont is an online Vanilla JS tool that converts your font family files into a ready to use solution for localStorage web font caching.
Please feel free to open an issue, send me a pull request or fire me a tweet.
Credits
This tool wouldn't have been possible without the help of:
- Vitaly Friedman for Smashing Magazine's launcher script
- Jon Leighton for his amazing base64 encoding function
License
localFont is released under the MIT license