# find-in-pi

> Find where a number is located in Pi

Latest version **3.1.6** (published 2017-04-22) · BSD license · 0 weekly downloads

## Install

```sh
npm install find-in-pi
pnpm add find-in-pi
yarn add find-in-pi
bun add find-in-pi
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.6 |
| Published | 2017-04-22 |
| First published | 2017-04-22 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | convoitise |
| Maintainers | emmanouil |
| Keywords | 3.14, Pi, PI, π |

## Links

- npm: https://www.npmjs.com/package/find-in-pi
- Repository: https://github.com/emmanouil/npm_find-in-pi
- Issues: https://github.com/emmanouil/npm_find-in-pi/issues
- npm.io page: https://npm.io/package/find-in-pi

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 3.1.6 (latest) — 2017-04-22
- 3.1.5 — 2017-04-22
- 3.1.4 — 2017-04-22

## README

Find in Pi
=========
A small library that returns the location (index) of a number in the first ~1.5m decimal digits of Pi.
Supported commands:
 - `.findInPi(<number>)` (returns index of _number_, starting counting after the decimal. i.e. for n=1 returns 1)
 - `.getPi()` (returns, as `String` the Pi series used for any search)


## Installation

  `npm install find-in-pi`

## Usage

    var fip = require('find-in-pi');

    var numIndex = fip.findInPi(1900);
  
  
  Output should be `4791`


## Tests

  `npm test`

## Contributing

...is welcome :)

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