Security News
New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
gulp-ttf2eot
Advanced tools
Readme
Create an EOT font from a TTF one with Gulp.
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/'));
});
Type: Boolean
Default value: false
Set to true to also convert files that doesn't have the .ttf extension.
Type: Boolean
Default value: false
Set to true to clone the file before converting him so that it will output the original file too.
You may look after a full Gulp web font workflow, see gulp-iconfont fot that matter.
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.
FAQs
Create an EOT font from a TTF one
The npm package gulp-ttf2eot receives a total of 16,174 weekly downloads. As such, gulp-ttf2eot popularity was classified as popular.
We found that gulp-ttf2eot 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.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
Security News
Results from the 2023 State of JavaScript Survey highlight key trends, including Vite's dominance, rising TypeScript adoption, and the enduring popularity of React. Discover more insights on developer preferences and technology usage.
Security News
The US Justice Department has penalized two consulting firms $11.3 million for failing to meet cybersecurity requirements on federally funded projects, emphasizing strict enforcement to protect sensitive government data.