# polygon-wedgit-base

> A package to convert numbers from one base to another

Latest version **1.0.5** (published 2023-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install polygon-wedgit-base
pnpm add polygon-wedgit-base
yarn add polygon-wedgit-base
bun add polygon-wedgit-base
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2023-05-28 |
| First published | 2023-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hasnain |
| Maintainers | hasnainzxc |
| Keywords | converter, math, base, numbers |

## Links

- npm: https://www.npmjs.com/package/polygon-wedgit-base
- Repository: https://github.com/Hasnainzxc/polygon-Wedgit
- Homepage: https://github.com/Hasnainzxc/polygon-Wedgit.git
- Issues: https://github.com/Hasnainzxc/polygon-Wedgit.git/issues
- npm.io page: https://npm.io/package/polygon-wedgit-base

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2023-05-28
- 1.0.4 — 2023-05-28
- 1.0.3 — 2023-05-28

## README

📦 **Super Base Converter**

A package to convert numbers from one base to another.

## Installation

To install the package, run the following command:

```bash
yarn add super-base-converter
```

Make sure you have [Node.js](https://nodejs.org) and [Yarn](https://yarnpkg.com) installed.

## Usage

Import the `BaseConverter` class from the package:

```javascript
import { BaseConverter } from 'super-base-converter';
```

Create an instance of `BaseConverter`:

```javascript
const converter = new BaseConverter();
```

### Converting from Base N to Decimal

```javascript
const decimalNumber = converter.convertFromBaseNtoDecimal('1101', 2);
console.log(decimalNumber); // Output: 13
```

### Converting from Decimal to Base N

```javascript
const baseNNumber = converter.convertFromDecimalToBaseN(13, 2);
console.log(baseNNumber); // Output: '1101'
```

## Documentation

To generate the documentation, make sure you have installed [Typedoc](https://typedoc.org) and [Serve](https://www.npmjs.com/package/serve) by running the following command:

```bash
yarn add typedoc serve
```

### Building the Documentation

Run the following command to build the documentation:

```bash
yarn build-docs
```

The documentation will be generated in the `docs` directory.

### Serving the Documentation

To view the documentation locally, run the following command:

```bash
yarn serve-docs
```

This will start a local server at `http://localhost:3000` to serve the documentation.

## Contributing

Contributions are welcome! Please refer to the [contribution guidelines](CONTRIBUTING.md) for more information.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

---



🚀 Happy base converting!

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