1.0.2 • Published 6 years ago

b64-python-parser v1.0.2

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

Base 64 Python Parser

Be carefull, this is a WIP module !

Install

To install the package use npm or yarn :

npm i --save b64-python-parser

How To

This module currently return a function b64PythonParser. To use it just call it with base 64 as argument : b64PythonParser(myBase64Data). This function return a promise that resolve when the b64 string is fully parsed, see the exemples below for more detailed usage.

Exemple:

In the Browser :

b64PythonParser('SG9sYSwgSGVsbG8sIEJvbmpvdXIgIQ==').then(function(res){
  console.log('Result : \n ' + res);
}, function(err){
  console.log(err)
})

Or as a node module :

const b64PythonParser = require('b64-python-parser')

b64PythonParser('SG9sYSwgSGVsbG8sIEJvbmpvdXIgIQ==').then( res => {
  console.log(res);
}, err => {
  console.log(err);
})
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago