fontello-mount
mount fontello assets in a http route without files
example
var http =var mount =var config ={var server = httpserverserver}
methods
mount(config, [opt], cb)
config
json or string (fontello config.json contents)
opt
optional options cachePath
or cache
for custom cache
if opt.cachePath
is specified cache to disk will be attempted using a
hash of the fontello config as key
cb
function(err, router, assets)
assets
contains files and types from fontello assets
install
With npm do:
npm install fontello-mount
license
MIT