Socket
Socket
Sign inDemoInstall

powbigint

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    powbigint

Calculate powers of big integers


Version published
Maintainers
1
Install size
6.03 kB
Created

Readme

Source

PowBigInt.js

NPM version NPM total downloads install size minified size

A simple utility library for calculating powers of big integers.

Install

$ npm i powbigint
# or
$ yarn add powbigint
# or
$ pnpm add powbigint

Usage

import { powBigInt } from 'powbigint';

powBigInt(BigInt(2), 64n);  // 18446744073709551616n
powBigInt(2n, 1000000n);    // 99006562292958...376n (301030 digits)

License

MIT

Keywords

FAQs

Last updated on 08 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc