Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/xtuc/babel-preset-jsfuck

Transforms your code into JSFuck
https://github.com/xtuc/babel-preset-jsfuck

Last synced: 1 day ago
JSON representation

Transforms your code into JSFuck

Awesome Lists containing this project

README

        

# babel-preset-jsfuck

> Transforms your code into JSFuck

## Installation

```sh
npm install --save-dev babel-preset-jsfuck
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
"presets": ["jsfuck"]
}
```

### Via CLI

```sh
babel --presets jsfuck script.js
```

### Via Node API

```javascript
require("@babel/core").transform("code", {
presets: ["jsfuck"]
});
```