Socket
Socket
Sign inDemoInstall

metalsmith-assets

Package Overview
Dependencies
8
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    metalsmith-assets

Include static assets in your Metalsmith build


Version published
Weekly downloads
1.2K
increased by15.8%
Maintainers
1
Install size
254 kB
Created
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 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc