
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
gulp-ttf2woff2
Advanced tools
Create a WOFF2 font from a TTF font
First, install gulp-ttf2woff2 as a development dependency:
npm install --save-dev gulp-ttf2woff2
Then, add it to your gulpfile.js:
import ttf2woff2 from 'gulp-ttf2woff2';
gulp.task('ttf2woff2', () => {
gulp
.src(['fonts/*.ttf'], {
encoding: false, // Important!
removeBOM: false,
})
.pipe(ttf2woff2())
.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 WOFF2 related issues to the ttf2woff2 project on which gulp-ttf2woff2 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 a WOFF2 font from a TTF font
The npm package gulp-ttf2woff2 receives a total of 29,006 weekly downloads. As such, gulp-ttf2woff2 popularity was classified as popular.
We found that gulp-ttf2woff2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.

Research
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.