Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lopatnov committed Dec 7, 2019
1 parent 74aac9f commit 7540d15
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# @lopatnov/rollup-plugin-uglify

[![NPM version](https://badge.fury.io/js/%40lopatnov%2Frollup-plugin-uglify.svg)](https://www.npmjs.com/package/@lopatnov/rollup-plugin-uglify)
![License](https://img.shields.io/github/license/lopatnov/rollup-plugin-uglify)
[![Twitter](https://img.shields.io/twitter/url?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Frollup-plugin-uglify)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Frollup-plugin-uglify)

A rollup plugin to minify javascript with UglifyJS

# Install

[![https://nodei.co/npm/@lopatnov/rollup-plugin-uglify.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/@lopatnov/rollup-plugin-uglify.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/@lopatnov/rollup-plugin-uglify)

```shell
@lopatnov/rollup-plugin-uglify
```

## Import package to the project

```typescript
import workerFromString from 'rollup-plugin-uglify';
```
or
```javascript
var workerFromString = require("rollup-plugin-uglify")
```

## Convert String values into Worker

```typescript
workerFromString(...textValues: string[]) => Worker
```

# Rights and Agreements

License [Apache-2.0](https://github.com/lopatnov/rollup-plugin-uglify/blob/master/LICENSE)

Copyright 2019 Oleksandr Lopatnov

0 comments on commit 7540d15

Please sign in to comment.