# lessify

> Middleware and Browserify transform for less files

Latest version **1.0.3** (published 2026-08-12) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install lessify
pnpm add lessify
yarn add lessify
bun add lessify
```

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2026-08-12 |
| First published | 2013-11-20 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Drew Stokes |
| Maintainers | dstokes |
| Keywords | browserify, less, transform |

## Links

- npm: https://www.npmjs.com/package/lessify
- Repository: https://github.com/dstokes/lessify
- Homepage: https://github.com/dstokes/lessify#readme
- Issues: https://github.com/dstokes/lessify/issues
- npm.io page: https://npm.io/package/lessify

## Dependencies (3)

- [less](https://npm.io/package/less.md) ^4.8.1
- [cssify](https://npm.io/package/cssify.md) ^0.6.0
- [through](https://npm.io/package/through.md) ^2.3.6

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2026-08-12
- 1.0.2 — 2018-04-24
- 1.0.1 — 2015-04-02
- 1.0.0 — 2015-01-14
- 0.5.0 — 2014-12-11
- 0.4.1 — 2014-06-04
- 0.4.0 — 2014-04-22
- 0.3.0 — 2014-01-07
- 0.1.1 — 2013-11-21
- 0.2.1 — 2013-11-21
- 0.2.0 — 2013-11-20
- 0.1.0 — 2013-11-20

## README

lessify
=======
Middleware and Browserify transform for less files.

[![CI](https://github.com/dstokes/lessify/actions/workflows/ci.yml/badge.svg)](https://github.com/dstokes/lessify/actions/workflows/ci.yml)  
[![NPM](https://nodei.co/npm/lessify.png?downloads=true)](https://nodei.co/npm/lessify/)

usage
=====
some.less
``` less
.nav { width: (1 + 1); }
```

entry.js
```
require('some.less');
```

then

```
> browserify -t lessify entry.js > app.js
```

we haz css in our bundle!

options
=======

Less options can be specified either on the command line:

```
> browserify -t [ lessify --relativeUrls --rootpath http://www.example.com/ ] entry.js
```

Or using the API:

```
var browserify = require('browserify');
var lessify = require('lessify');

var b = browserify();
b.transform({relativeUrls: true, rootpath: 'http://www.example.com/'}, lessify);
...
```

install
=======

With [npm](http://npmjs.org) do:

```
npm install lessify
```

contributors
============

[https://github.com/dstokes/lessify/graphs/contributors](https://github.com/dstokes/lessify/graphs/contributors)

---
_Source: https://npm.io/package/lessify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
