sclipting-escape
v1.1.3
Published
A tiny node.js module to escape String/Number/Buffer into ByteArray literal of Sclipting esoteric programming language.
Downloads
11
Maintainers
Readme
sclipting-escape
A tiny node.js module to escape String/Number/Buffer into ByteArray literal of Sclipting esoteric programming language.
Usage
npm install sclipting-escape
var sclipting = require('sclipting-escape');
console.log(sclipting.encode(Buffer('Hello, World!')));
// -> 낆녬닆묬긅덯댦롤긐
API
sclipting.encode(data)
data
: Buffer- return: String
Encodes data into Sclipting ByteArray literal.
sclipting.decode(text)
text
: String- return: Buffer
Decodes text from Sclipting ByteArray literal into Buffer.
License
MIT
Roadmap
- negative number literal
- encodes Number or String
- More neat tests
- options
- no-strict mode
- Get number