Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-lessify

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-lessify - npm Package Compare versions

Comparing version 0.0.9-a to 0.0.9-b

2

package.json
{
"name": "node-lessify",
"version": "0.0.9a",
"version": "0.0.9b",
"description": "LESS precompiler and CSS plugin for Browserify",

@@ -5,0 +5,0 @@ "main": "index.js",

node-lessify
============
Version 0.0.9a
Version 0.0.9b

@@ -42,12 +42,11 @@ [![Build Status](https://travis-ci.org/wilson428/node-lessify.png)](https://travis-ci.org/wilson428/node-lessify)

##Options
## Options
###Text Mode
### Text Mode
[As requested](https://github.com/wilson428/node-lessify/issues/1), it is now possible to ask the transformation not to auto-append the css but merely to compile it into a string and assign it to a variable. This is accomplished by adding a `package.json` file in the directory from which browserify is run with the following properties:
"browserify": {
"transform": ["node-lessify"],
"transform-options": {
"node-lessify": "textMode"
}
"transform": [
[ "node-lessify", {"textMode": true } ]
]
}

@@ -57,3 +56,3 @@

###Plugins
### Plugins
You can pass a `plugins` argument to get less plugins like [autoprefix](https://www.npmjs.com/package/less-plugin-autoprefix):

@@ -69,5 +68,8 @@

Note: This does not currently work via `package.json` arguments, since the plugins need to be required separately, but we're working on it.
## Changes
**v0.0.9b**: README fixes
**v0.0.9a**: Allow for less plugins. Thx @henriklundgren!

@@ -74,0 +76,0 @@

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