Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

gulp-ttf2eot

Package Overview
Dependencies
59
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-ttf2eot

Create an EOT font from a TTF font


Version published
Weekly downloads
19K
decreased by-6.6%
Maintainers
1
Install size
0.999 MB
Created
Weekly downloads
 

Readme

Source

gulp-ttf2eot

Create a EOT font from a TTF font with Gulp.

NPM version Build status Dependency Status devDependency Status Coverage Status Code Climate

Usage

First, install gulp-ttf2eot as a development dependency:

npm install --save-dev gulp-ttf2eot

Then, add it to your gulpfile.js:

var ttf2eot = require('gulp-ttf2eot');

gulp.task('ttf2eot', function(){
  gulp.src(['fonts/*.ttf'])
    .pipe(ttf2eot())
    .pipe(gulp.dest('fonts/'));
});

API

ttf2eot(options)

options.ignoreExt

Type: Boolean Default value: false

Set to true to also convert files that doesn't have the .ttf extension.

options.clone

Type: Boolean Default value: false

Set to true to clone the file before converting him so that it will output the original file too.

Note

You may look after a full Gulp web font workflow, see gulp-iconfont fot that matter.

Stats

NPM NPM

Contributing / Issues

Please submit TTF to EOT related issues to the ttf2eot project on wich gulp-ttf2eot is built.

This repository issues is only for gulp and gulp tasks related issues.

You may want to contribute to this project, pull requests are welcome if you accept to publish under the MIT licence.

Keywords

FAQs

Last updated on 07 Jun 2015

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc