New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

spellfucker

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spellfucker

Yet another text obfuscator and the biggest enemy of the spellchecker

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

Install

npm install spellfucker --save

Include

NodeJS

const spellfucker = require('spellfucker');

Browser

<script src='node_modules/spellfucker/build/spellfucker.js' type='text/javascript'></script>

...or use ES6 import

Use

const result = spellfucker('your string of text'); 
// returns something like "jor stryngue hoph thexd"

Contribute

Fork the project. The most challenging part is the replacement library. It is suggested to polish the original English version first. The perfect shape of the replacement matrix should look like this:

---------------
|"ck","k","kh"|
|"k","ck","kh"|
|"kh","ck","k"|
---------------

The size of the sample matrix above is N=3. The bigger N is, the better. You get the point.

Source files are in src folder. Please leave the build folder untouched to avoid merge conflicts.

# run a quick test
npm run quicktest
# or run a custom test
node -e 'console.log(require("./src/spellfucker.js")("to test some text"))'
# or run a custom test with debugging
node -e 'console.log(require("./src/spellfucker.js")("division",{debug:3}))'

Contributors

  • @dawsbot - Improved Readme
  • @DennyDai - The very first contributor, fixed a nasty bug in the library

Learn more

https://spellfucker.com/

Keywords

spellfucker

FAQs

Package last updated on 02 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts