# conbaseor

> Converts between bases decimal, binary, bcd

Latest version **1.0.7** (published 2019-09-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install conbaseor
pnpm add conbaseor
yarn add conbaseor
bun add conbaseor
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2019-09-10 |
| First published | 2019-09-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | florovarelaa |
| Maintainers | florovarelaa |

## Links

- npm: https://www.npmjs.com/package/conbaseor
- Repository: https://github.com/florovarelaa/binaryConversor
- Homepage: https://github.com/florovarelaa/binaryConversor#readme
- Issues: https://github.com/florovarelaa/binaryConversor/issues
- npm.io page: https://npm.io/package/conbaseor

## Recent versions

- 1.0.7 (latest) — 2019-09-10

## README

��// : ) : - However you want
//

Conbase between decimal, binary and bcd with this simple api.

values must be entered as a string. Decimals must be positive integers. 
Wrong values are returned as undefined with a message in the console.


npm i conbasor

let conbasor = require('conbasor');

// conbaseor = { 
//    b2d: [Function: b2d],
//    d2b: [Function: d2b],
//    d2bcd: [Function: d2bcd],
//    bcd2d: [Function: bcd2d]
// }

let d2b = conbaseor.d2b('13');
// '1101'

let b2d = conbaseor.b2d('1101');
// '13'

let d2bcd = conbaseor.d2bcd('0001')
// [ { bcd: '0000', decimal: '0' },
// { bcd: '0000', decimal: '0' },
// { bcd: '0000', decimal: '0' },
// { bcd: '0001', decimal: '1' } ]

let bcd2d = conbaseor.bcd2d('0001')
// [ { bcd: '0001', decimal: '1' } ]

---
_Source: https://npm.io/package/conbaseor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
