UNPKG

jscrewit

Version:

Converts plain JavaScript into JSFuck code, which consists of only six different characters: ! ( ) + [ ]

26 lines (19 loc) 525 B
// Type definitions for JScrewIt import type { encode } from './encode'; import type { Feature } from './feature'; export * from './encode'; export * from './feature'; export type * from './feature-all'; interface JScrewIt { Feature: typeof Feature; encode: typeof encode; } declare global { /** Global JScrewIt object, available in browsers. */ const JScrewIt: JScrewIt; } declare const JScrewIt: JScrewIt; /** JScrewIt object, available in Node.js. */ export default JScrewIt;