UNPKG
jsfuckify
Version:
latest (0.0.1)
0.0.1
0.0.0
Browserify transformer and CLI to convert normal JS into JSFuck
jsfuckify
/
lib
/
transformer.js
7 lines
(5 loc)
•
197 B
JavaScript
View Raw
1
2
3
4
5
6
7
const
jscrewit =
require
(
'jscrewit'
);
const
DEFAULT_OPTIONS
=
require
(
'./default-options'
);
module
.
exports
=
function
transformer
(
content
) {
return
jscrewit.
encode
(content,
DEFAULT_OPTIONS
); };