# ruglify

> 'Require' minified JavaScript as a string

Latest version **1.0.0** (published 2013-03-12) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2013-03-12 |
| First published | 2013-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | ForbesLindesay |
| Maintainers | forbeslindesay |
| Keywords | require, file, text, relative, module, javascript, uglify, minify, compress, string |

## Links

- npm: https://www.npmjs.com/package/ruglify
- Repository: https://github.com/ForbesLindesay/ruglify
- npm.io page: https://npm.io/package/ruglify

## Dependencies (2)

- [rfile](https://npm.io/package/rfile.md) ~1.0
- [uglify-js](https://npm.io/package/uglify-js.md) ~2.2

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2013-03-12

## README

# ruglify

[![Build Status](https://secure.travis-ci.org/ForbesLindesay/ruglify.png)](http://travis-ci.org/ForbesLindesay/ruglify)
[![Dependency Status](https://gemnasium.com/ForbesLindesay/ruglify.png)](https://gemnasium.com/ForbesLindesay/ruglify)

"Require" minified JavaScript as a string

## Installation

```
npm install ruglify
```

## Usage

```javascript
var ruglify = require('ruglify');
var minifiedJQuery = ruglify('./jquery.js');
console.log(minifiedJQuery);
```

Uses the same resolution algorithm as require for maximum simplicity.  Built on top of [rfile](https://github.com/ForbesLindesay/rfile).

## License

  MIT

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