# i64base

> URL, Filename, AWS safe Base64 Integer Strings (BAS) without dependencies.

Latest version **0.1.6** (published 2014-02-18) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2014-02-18 |
| First published | 2014-02-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | angleman |
| Maintainers | angleman |
| Keywords | url, aws, filename, base64, integer, compression, conversion |

## Links

- npm: https://www.npmjs.com/package/i64base
- Repository: https://github.com/angleman/i64base
- Issues: https://github.com/angleman/i64base/issues
- npm.io page: https://npm.io/package/i64base

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.1.6 (latest) — 2014-02-18
- 0.1.5 — 2014-02-18

## README

# i64Base [![NPM version](https://badge.fury.io/js/i64Base.png?branch=master)](https://npmjs.org/package/i64Base) [![Build Status](https://travis-ci.org/angleman/i64Base.png?branch=master)](https://travis-ci.org/angleman/i64Base) [![License](http://badgr.co/use/MIT.png?bg=%234ed50e)](#licensemit)


URL, Filename, AWS safe Base64 Integer Strings (BAS). Supports both fast conversions for regular integers and large integer strings (via [alan/clarke/int-encoder](http://github.com/alanclarke/int-encoder)). Assists with compression as fewer base 64 digits are needed to represent larger integers than base 10 digits. Unlike RFC-3548 Base 64 encodings, readability of BIS is improved for small integers by using an alphabet that extends base-converter in PHP and following node [base-converter](https://github.com/naholyr/node-base-converter). This is a subset of the [i64](https://github.com/angleman/i64) project and has no dependencies.

## Install

```
npm install i64
```

## Usage

```
var i64 = require('i64Base');   // initial instance
i64.int([integer])              // get/set value as Integer
i64.valueOf([int64_string])     // value as BIS, set option
i64.new(config)                 // new instance factory
```

## Examples

```
i64.int(64).valueOf()     // _         integer to BIS
i64.valueOf('c').asInt()  // 12        BIS to integer 

```



## To Do

Refactor [i64](https://github.com/angleman/i64) to extend this project.

## License: MIT

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