Socket
Socket
Sign inDemoInstall

metalsmith-less

Package Overview
Dependencies
5
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-less


Version published
Weekly downloads
287
decreased by-49.38%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

metalsmith-less

Build Status

A LESS plugin for Metalsmith.

Installation

npm install metalsmith-less

Usage

var less = require('metalsmith-less')

new Metalsmith(__dirname)
    .use(less(options))
    .build()

options Object

  • pattern String|Array<String>

    The pattern to filter source files. Default **/*.less.

  • render Object

    The options passed to less.render(String[, Object]). Unfortunately, this method is undocumented. See https://github.com/less/less-docs/issues/212 for more information. Default undefined.

  • useDynamicSourceMap Boolean

    Overrides the supplied source map configuration with a dynamic file-level configuration. This is the easiest way to enable source maps in your Metalsmith build. Default false.

Tests

$ npm test

License

MIT License, see LICENSE for details.

Keywords

FAQs

Last updated on 18 Mar 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc