Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

metalsmith-assets

Package Overview
Dependencies
5
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

metalsmith-assets

Include static assets in your Metalsmith build

    0.1.0latest
    GitHub

Version published
Maintainers
1
Weekly downloads
1,076
decreased by-11.22%

Weekly downloads

Readme

Source

metalsmith-assets

Include static assets in your Metalsmith build

Installation

$ npm install metalsmith-assets

CLI Usage

Install via npm and then add the metalsmith-assets key to your metalsmith.json plugins with a source and destination directory, like so:

{ "plugins": { "metalsmith-assets": { "source": "./assets", "destination": "./assets" } } }

Javascript Usage

Pass options to the assets plugin and pass it to Metalsmith with the use method:

var assets = require('metalsmith-assets'); metalsmith.use(assets({ source: './assets', // relative to the working directory destination: './assets' // relative to the build directory }));

License

MIT

Keywords

FAQs

Last updated on 11 Nov 2014

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc