Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-webfont

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-webfont

Broccoli plugin that generates webfonts from SVG icons.

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

broccoli-webfont

Broccoli plugin that generates webfonts from SVG icons.

It is wrapper around webfonts-generator.

Install

npm install broccoli-webfont

Usage

var webfont = require('broccoli-webfont')

var tree = webfont('inputTree', {
  //paths or globs
  files: [
    'icon.svg',
    'close.svg'
  ]
})

Webfont(inputTree, options)

inputTree

Broccoli tree with SVG files.

options

Options are the same as in the webfonts-generator, with the following differences:

  • files, dest, cssDest and htmlDest are relative paths
  • files supports glob patterns
  • files default value is ['**/*.svg']
  • dest default value is '.'
  • paths of default templates are in the webfonts.templates object.

License

Public domain, see the LICENCE.md file.

Keywords

FAQs

Package last updated on 29 Jan 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc