1.1.0 • Published 3 years ago

ut-function.bits v1.1.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
3 years ago

ut-function.bits

String padding functionalities

Installation

npm i ut-function.bits

Usage examples

const {and, or, xor} = require('ut-function.bits');
and(['0000', '1111'])
// 0000

or(['0000', '1111', '0000'])
// 1111

xor(['0000', '1111'])
// 1111

xor(['AAA=', 'ERE='], 'base64')
// 'ERE='