Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

metalsmith-inline-source

1.0.6 • Public • Published

Metalsmith-Inline-Source

A Metalsmith plugin tied with inline-source to inline static assets like SVG, Javascript and CSS.

Installation

$ npm install metalsmith-inline-source

Usage

Javascript

Pass the inline-source plugin into Metalsmith via the use method:

var inlineSource = require('metalsmith-inline-source');
 
metalsmith.use(inlineSource());

Credit

The inline-source plugin can be found here; this is simply a wrapper for Metalsmith.

install

npm i metalsmith-inline-source

Downloadsweekly downloads

34

version

1.0.6

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability