🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

spritefont-loader

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spritefont-loader

[![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]

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

npm version Build Status Dependency Status Dev dependency Status

spritefont-loader

Loads sprite fonts into the browser that were generated with the sprite font generator.

Installation

This module is distributed via npm:

npm install spritefont-loader

Usage

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

Package last updated on 25 Feb 2018

Did you know?

Socket

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.

Install

Related posts