This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
font-store with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Base64 encodes web fonts to cache in LocalStorage for high performance.
Install this module globally and convert a web font from Google:
$ npm install -g font-store $ font-store "http://fonts.googleapis.com/css?family=Dosis"
If all goes right, a JSON file will be created for you named something like
To see a list of available options type:
$ font-store --help
Currently the only option is to specify what format you want, either woff or woff2.