Socket
Socket
Sign inDemoInstall

metalsmith-less

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-less

A LESS plugin for Metalsmith


Version published
Weekly downloads
954
increased by40.09%
Maintainers
1
Weekly downloads
 
Created
Source

metalsmith-less

Build Status

A LESS plugin for Metalsmith.

Installation

npm install metalsmith-less

Usage

var less = require('metalsmith-less')

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

Options

  • pattern String pattern|Array<String> pattern

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

  • parse Object parseOptions

    An object that gets passed along to new less.Parser(parseOptions). Default null.

  • render Object renderOptions

    An object that gets passed along to tree.toCSS(renderOptions). Default null.

  • useDefaultSourceMap Boolean useDefaultSourceMap

    A switch to enable the default source map configuration. LESS's source map API doesn't play nice with Metalsmith, so this is a heavy-handed approach to sensible source maps. Default false.

Tests

$ npm test

License

MIT License, see LICENSE for details.

Keywords

FAQs

Package last updated on 30 Sep 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc