
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
spritefont-loader
Advanced tools
[![npm version][npm-svg]][npm-url] [![Build Status][travis-svg]][travis-url] [![Dependency Status][david-deps-svg]][david-deps-url] [![Dev dependency Status][david-devdeps-svg]][david-devdeps-url]
Loads sprite fonts into the browser that were generated with the sprite font generator.
This module is distributed via npm:
npm install spritefont-loader
import SpritefontLoader from 'spritefont-loader';
const options = { rows: 8, cols: 4, colors: [#ffffff, #00000]};
const spriteFont = SpritefontLoader.load('spritefont.png', options);
This code is released under the MIT license, feel free to do whatever you want with it.
FAQs
[![npm version][npm-svg]][npm-url] [![Build Status][travis-svg]][travis-url] [![Dependency Status][david-deps-svg]][david-deps-url] [![Dev dependency Status][david-devdeps-svg]][david-devdeps-url]
We found that spritefont-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.