An open API service indexing awesome lists of open source software.

https://github.com/samccone/unwrap

unwrap UMD
https://github.com/samccone/unwrap

Last synced: 2 months ago
JSON representation

unwrap UMD

Awesome Lists containing this project

README

          

unwrap




A tool to remove a UMD wrap from a given file.
[![Build Status](https://travis-ci.org/samccone/unwrap.svg)](https://travis-ci.org/samccone/unwrap)

## How To

`npm install unwrap`

### CLI

`./node_modules/.bin/unwrap > my_unwrapped_file.js`

### API

```js
require('unwrap')("path_to_file.js", function(e, unwrapped) {

});
```