Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

glyph-inspector

1.1.0 • Public • Published

glyph-inspect

A utility to inspect glyph PBFs.

Usage

npm install && npm link

// pretty-printed JSON metadata
inspect ./0-255.pbf

// raw JSON
inspect ./0-255.pbf --raw

// HTML page
inspect ./0-255.pbf --html > 0-255.html
open 0-255.html

Outputs pretty-printed (with bitmap buffers hidden) file metadata.

Options

--raw: outputs full JSON-stringified data
--html: outputs HTML string to view in a browser, with simple (not beautiful) rendered SDFs + metadata

Keywords

none

install

npm i glyph-inspector

Downloadsweekly downloads

6

version

1.1.0

license

ISC

last publish

collaborators

  • avatar