metalsmith-include-files
A Metalsmith plugin to include external files.
Last updated 6 months ago by emmercm .
GPL-3.0-or-later · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install metalsmith-include-files 
SYNC missed versions from official npm registry.

metalsmith-include-files

Known Vulnerabilities

A Metalsmith plugin to include external files.

Installation

npm install --save metalsmith-include-files

JavaScript Usage

const Metalsmith = require('metalsmith');
const include    = require('metalsmith-include-files');

Metalsmith(__dirname)
    .use(include({
        // options here
    }))

Example

const include = require('metalsmith-include-files');

Metalsmith(__dirname)
    .use(include({
        'static/js': [
            './node_modules/bootstrap/dist/js/bootstrap.js',
            './node_modules/jquery/dist/jquery.js',
        ]
    }))

Changelog

Changelog

Current Tags

  • 0.1.4                                ...           latest (6 months ago)

8 Versions

  • 0.1.4                                ...           6 months ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |