https://github.com/kasperhesthaven/gulp-ttf-to-woff
Gulp plugin to convert TTF (TrueType font) files to WOFF using ttf2woff.
https://github.com/kasperhesthaven/gulp-ttf-to-woff
converter gulp gulp-plugin ttf ttf2woff woff
Last synced: 7 months ago
JSON representation
Gulp plugin to convert TTF (TrueType font) files to WOFF using ttf2woff.
- Host: GitHub
- URL: https://github.com/kasperhesthaven/gulp-ttf-to-woff
- Owner: kasperhesthaven
- License: mit
- Created: 2020-09-26T23:50:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T18:00:56.000Z (almost 3 years ago)
- Last Synced: 2025-03-16T02:42:06.790Z (7 months ago)
- Topics: converter, gulp, gulp-plugin, ttf, ttf2woff, woff
- Language: JavaScript
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
  
# gulp-ttf-to-woff
Gulp plugin to convert TTF(TrueType font) files to WOFF using [ttf2woff](https://github.com/fontello/ttf2woff).
## Install
`npm i gulp-ttf-to-woff`
## Usage
```js
const gulp = require("gulp");
const ttfToWoff = require("gulp-ttf-to-woff");export function convertTffToWoff() {
return gulp.src("./src/*.ttf").pipe(ttfToWoff()).pipe(gulp.dest("./dist/"));
}
```