New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dr-webfont-inliner

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dr-webfont-inliner

Inlines webfonts in CSS

  • 0.3.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

dr-webfont-inliner

Inline webfonts in stylesheets.

Usage:

Command:

node index.js <file> [options]
Options:
  • -o, --output [string] - Path to write output to. Defaults to appending -inline to input name, eg style.css will result in style-inline.css.
Examples:

Output stylesheet with inlined fonts at the same location as the source:

node index.js style.css

Output stylesheet with inlined fonts in another location:

node index.js my/path/style.css -o my/other/path/style.css

Module:

Arguments
  • input - Path to the stylesheet that needs to get webfonts inlined.
  • output - Optional. Path to write output to. Defaults to appending -inline to input name.
Examples:

Output stylesheet with inlined fonts at the same location as the source:

var inline = require("dr-webfont-inliner");

inline("style.css");

Output stylesheet with inlined fonts in another location:

var inline = require("dr-webfont-inliner");

inline("my/path/style.css", "my/other/path/style.css")

Changelog

0.3.0

Features:

  • woff2 added.

FAQs

Package last updated on 18 Sep 2014

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