2.0.0 • Published 2 years ago

strconverter v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

stringConverter

Instalation

npm install strconverter

Usage

  import { Convert } from "strconverter";
  
  const converter = new Convert()

Encode

  const encode = converter.codificate('string', 2)

Return The rersult

  const result = encode.codificated

Create a file with the result

  encode.createCodificatedFile('fileName)

Decode

  const decode = converter.decodificate('string', 2)

Return The rersult

  const result = decode.decodificated

Create a file with the result

  decode.createdecodificatedFile('fileName)
  • The param base is optional and the default is 2