Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T18:00:56.000Z (almost 2 years ago)
- Last Synced: 2024-11-14T02:48:26.797Z (about 2 months ago)
- Topics: converter, gulp, gulp-plugin, ttf, ttf2woff, woff
- Language: JavaScript
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![NPM CD](https://github.com/kasperhesthaven/gulp-ttf-to-woff/workflows/NPM%20CD/badge.svg) ![Dependencies](https://img.shields.io/librariesio/release/npm/gulp-ttf-to-woff) ![NPM Version](https://img.shields.io/npm/v/gulp-ttf-to-woff)
# 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/"));
}
```