# get-photo-url

> Get local photo url from file upload

Latest version **1.0.3** (published 2021-03-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install get-photo-url
pnpm add get-photo-url
yarn add get-photo-url
bun add get-photo-url
```

## 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-03-21 |
| First published | 2021-03-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ebenezer Don |
| Maintainers | ebenezerdon |
| Keywords | photo, blob, url, local, photourl |

## Links

- npm: https://www.npmjs.com/package/get-photo-url
- npm.io page: https://npm.io/package/get-photo-url

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2021-03-21
- 1.0.2 — 2021-03-21
- 1.0.1 — 2021-03-21
- 1.0.0 — 2021-03-21

## README

An npm package for getting photo urls from html file inputs

## Install
`npm i -s get-photo-url`

## Example
```
<-- html -->
<input type="file" name="photo" id="addPhotoInput" />
```
```
// javascript
import getPhotoUrl from 'get-photo-url'

const addPhoto = async () => {
  const photoUrl = await getPhotoUrl('#addPhotoInput')
  // do something with photoUrl
}
```

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