connect-fonts-opensans
v0.0.5
Published
Open Sans font pack for connect-fonts
Downloads
36
Keywords
Readme
connect-fonts-opensans
A connect-fonts[https://github.com/shane-tomlinson/connect-fonts] fontpack for the OpenSans font.
Usage
- Include connect-fonts[https://github.com/shane-tomlinson/connect-fonts] in a node module.
const font_middleware = require("connect-fonts");
- Include the font packs that you want to serve.
const opensans = require("connect-fonts-opensans");
- Add a middleware by calling the
setup
function.
app.use(font_middleware.setup({
fonts: [ opensans ],
allow_origin: "https://exampledomain/com"
}));
Author
- Shane Tomlinson
- [email protected]
- [email protected]
- [email protected]
- https://shanetomlinson.com
- http://github.com/stomlinson
- http://github.com/shane-tomlinson
- @shane_tomlinson
Credits
Original font set downloaded from fontsquirrel.com. Open Sans created by Ascender Fonts @ http://www.ascenderfonts.com/
License
This software is dual licenced under version 2.0 of the MPL and version 2.0 of the Apache License.
https://www.mozilla.org/MPL/
http://www.apache.org/licenses/