
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
gulp-ttf2eot
Advanced tools
Create an EOT font from a TTF one
First, install gulp-ttf2eot
as a development dependency:
npm install --save-dev gulp-ttf2eot
Then, add it to your gulpfile.js
:
import ttf2eot from 'gulp-ttf2eot';
gulp.task('ttf2eot', () => {
gulp.src(['fonts/*.ttf'], {
encoding: false, // Important!
removeBOM: false,
})
.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 over which 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 license.
FAQs
Create an EOT font from a TTF one
The npm package gulp-ttf2eot receives a total of 18,609 weekly downloads. As such, gulp-ttf2eot popularity was classified as popular.
We found that gulp-ttf2eot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.