New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

iconfont2json

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

iconfont2json

convert ttf's content to json file.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

iconfont2json

Preview

iconfont2json is a cli tool that can convert name and code of ttf to json. This json can be used in react-native-vector-icons for custom icons.

if you have two icon in ttf , one is github logo and another is twitter logo.

so json content :


{"github":60143,"twitter":60144,}

How to use

install

npm install iconfont2json

in shell

iconfont2json some.ttf

default save json content to output.file. Or you can specify a file name by using the -o parameter.

License

MIT

FAQs

Package last updated on 18 May 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