# place-of

> Return the first place of a given input in a given value.

Latest version **1.0.3** (published 2021-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install place-of
pnpm add place-of
yarn add place-of
bun add place-of
```

## 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 | 1.0.3 |
| Published | 2021-05-31 |
| First published | 2019-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Natan Farkash |
| Maintainers | natqe3 |
| Keywords | utilizes, util, place, of, place-of, of-place |

## Links

- npm: https://www.npmjs.com/package/place-of
- Repository: https://github.com/natqe/utilizes
- Homepage: https://github.com/natqe/utilizes#readme
- Issues: https://github.com/natqe/utilizes/issues
- npm.io page: https://npm.io/package/place-of

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2021-05-31
- 1.0.2 — 2019-06-12
- 1.0.1 — 2019-01-30
- 1.0.0 — 2019-01-30

## README

# placeOf

Return the first place of a given input in a given value.

**Usage:** `placeOf<T>(target: string | Array<T>, searchValue: string | T, startSearchFrom?: number): number`

```typescript
import { placeOf } from 'place-of'

lastPlaceOf('abca', 'a')
// Output: 1
lastPlaceOf([1,2,3,1], 1)
// Output: 1
lastPlaceOf([1,2,3,4], 6)
// Output: 0
```

<!-- *keywords [] *keywordsend -->


This module exported from [utilizes](https://www.npmjs.com/package/utilizes) project.

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