# @types/javascript-bignum

> TypeScript definitions for javascript-bignum

Latest version **0.0.34** (published 2024-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/javascript-bignum
pnpm add @types/javascript-bignum
yarn add @types/javascript-bignum
bun add @types/javascript-bignum
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.34 |
| Published | 2024-01-30 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51432 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/javascript-bignum
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/javascript-bignum
- npm.io page: https://npm.io/package/@types/javascript-bignum

## Recent versions

- 0.0.34 (latest) — 2024-01-30
- 0.0.33 (ts4.5) — 2023-11-21
- 0.0.29 (ts3.0) — 2020-05-15
- 0.0.28 (ts2.0) — 2016-09-19
- 0.0.32 — 2023-11-07
- 0.0.31 — 2023-10-18
- 0.0.30 — 2023-09-15
- 0.0.27 — 2016-07-14
- 0.0.26-alpha — 2016-07-08
- 0.0.25-alpha — 2016-07-04
- 0.0.24-alpha — 2016-07-02
- 0.0.23-alpha — 2016-07-01
- 0.0.22-alpha — 2016-07-01
- 0.0.21-alpha — 2016-05-25
- 0.0.20-alpha — 2016-05-20
- … 2 more at https://npm.io/package/@types/javascript-bignum/versions

## README

# Installation
> `npm install --save @types/javascript-bignum`

# Summary
This package contains type definitions for javascript-bignum (https://github.com/jtobey/javascript-bignum).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/javascript-bignum.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/javascript-bignum/index.d.ts)
````ts
// This version only includes typing for schemeNumber, not the full library
declare type SchemeOperator = (...args: Array<string | SchemeNumber | number>) => SchemeNumber;
declare var VERSION: number[];
declare function raise(conditionType: string, message: string, ...irritants: any[]): void;
declare var maxIntegerDigits: number;
declare interface SchemeFn {
    [opname: string]: SchemeOperator;
    inexact: SchemeOperator;
    exact: SchemeOperator;
    max: SchemeOperator;
    min: SchemeOperator;
    abs: SchemeOperator;
    div: SchemeOperator;
    mod: SchemeOperator;
    div0: SchemeOperator;
    mod0: SchemeOperator;
    gcd: SchemeOperator;
    lcm: SchemeOperator;
    numerator: SchemeOperator;
    denominator: SchemeOperator;
    floor: SchemeOperator;
    ceiling: SchemeOperator;
    truncate: SchemeOperator;
    round: SchemeOperator;
    rationalize: SchemeOperator;
    exp: SchemeOperator;
    log: SchemeOperator;
    sin: SchemeOperator;
    cos: SchemeOperator;
    tan: SchemeOperator;
    asin: SchemeOperator;
    acos: SchemeOperator;
    atan: SchemeOperator;
    sqrt: SchemeOperator;
    expt: SchemeOperator;
    magnitude: SchemeOperator;
    angle: SchemeOperator;
}
declare interface SchemeNumber {
    (value: string | number): SchemeNumber;
    toString(radix: number): string;
    toFixed(fractionDigits: number): string;
    toExponential(fractionDigits: number): string;
    toPrecision(precision: number): string;
    fn: SchemeFn;
}
declare var SchemeNumber: SchemeNumber;

````

### Additional Details
 * Last updated: Tue, 30 Jan 2024 21:35:45 GMT
 * Dependencies: none

# Credits
These definitions were written by [Nathan Shively-Sanders](https://github.com/sandersn).

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