# leximitedjs

> Convert strings/numbers to and from Leximited Notation

Latest version **1.0.5** (published 2021-01-29) · GNU General Public License license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2021-01-29 |
| First published | 2020-05-20 |
| Weekly downloads | 0 |
| License | GNU General Public License |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 45.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Andrew Walpole |
| Maintainers | walpolea |
| Keywords | leximited, numbering, lexicographical |

## Links

- npm: https://www.npmjs.com/package/leximitedjs
- Repository: https://github.com/walpolea/leximitedjs
- Homepage: https://github.com/walpolea/leximitedjs#readme
- Issues: https://github.com/walpolea/leximitedjs/issues
- npm.io page: https://npm.io/package/leximitedjs

## Dependencies (1)

- [@skypack/package-check](https://npm.io/package/@skypack/package-check.md) ^0.2.2

## 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) — 2021-01-29
- 1.0.4 — 2020-05-20
- 1.0.3 — 2020-05-20
- 1.0.2 — 2020-05-20
- 1.0.1 — 2020-05-20
- 1.0.0 — 2020-05-20

## README

# leximitedjs

Library for converting numbers or strings to and from Leximited Notation

[Learn more about Leximited Notation](https://github.com/elenasa/ULAM/wiki/Appendix-D:-Leximited-Format)

# Installation

`npm install leximitedjs`

# Usage

module:

`import { toLeximited } from 'leximitedjs';`

or node.js:

`const Leximited = require("leximitedjs")`

### Encode a string or number to leximited format

- `toLeximited( input:string|number , asString:boolean = false ):number|string`
- `toLeximitedInt( input:string|number ):number`
- `toLeximitedStr( input:string|number ):string`

### Decode a string or number from leximited format

- `fromLeximited( input:string|number , asString:boolean = false ):number|string`
- `fromLeximitedInt( input:string|number ):number`
- `fromLeximitedStr( input:string|number ):string`

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