🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

assemble-metalsmith

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assemble-metalsmith

Assemble v0.6.x plugin for running any metalsmith middlewares

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
2
Created
Source

assemble-metalsmith NPM version

Assemble v0.6.x plugin for running any metalsmith middlewares

IMPORTANT! This plugin only works with Assemble v0.6 and greater.

Install

Install with npm:

npm i assemble-metalsmith --save-dev

Usage

var metalsmith = require('assemble-metalsmith')(assemble);
metalsmith
  .use(drafts())
  .use(markdown())
  .use(permalinks('posts/:title'))
  .use(templates('handlebars'));


assemble.src('path/to/pages/*.hbs')
  .pipe(metalsmith())
  .pipe(assemble.dest('dist'));

API

Metalsmith plugin

Assemble plugin to run metalsmith middleware

.use

Add a middleware or plugin to use.

  • middleware {Function}: this is the middleware to run.
  • return {Object} this for chaining

Author

Brian Woodward

License

Copyright (c) 2014 Brian Woodward, contributors.
Released under the MIT license

This file was generated by verb-cli on August 03, 2014.

Keywords

docs

FAQs

Package last updated on 05 Aug 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