Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xtuc/babel-preset-jsfuck
- Owner: xtuc
- Created: 2017-11-28T07:30:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-28T07:34:54.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T19:21:14.855Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"]
});
```