# mount-image

> A simple function for mounting image

Latest version **1.2.0** (published 2023-06-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install mount-image
pnpm add mount-image
yarn add mount-image
bun add mount-image
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2023-06-05 |
| First published | 2023-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | saqqdy |
| Maintainers | saqqdy |
| Keywords | mount-image, mount-img, load-img, load-image, saqqdy |

## Links

- npm: https://www.npmjs.com/package/mount-image
- Repository: https://github.com/saqqdy/browsers
- Homepage: https://github.com/saqqdy/browsers/tree/master/packages/mount-image#readme
- Issues: https://github.com/saqqdy/browsers/issues
- npm.io page: https://npm.io/package/mount-image

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2023-06-05
- 1.2.0-beta.3 (beta) — 2023-06-05
- 1.0.0-alpha.0 (alpha) — 2023-05-19
- 1.2.0-beta.2 — 2023-06-04
- 1.2.0-beta.1 — 2023-06-04
- 1.1.0 — 2023-05-23
- 1.0.0 — 2023-05-20

## README

<div style="text-align: center;" align="center">

# mount-image

A simple function for mounting image

[![NPM version][npm-image]][npm-url]
[![Codacy Badge][codacy-image]][codacy-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
[![gzip][gzip-image]][gzip-url]
[![License][license-image]][license-url]

[![Sonar][sonar-image]][sonar-url]

</div>

<div style="text-align: center; margin-bottom: 20px;" align="center">

</div>

## Installing

```bash
# use pnpm
$ pnpm install mount-image

# use npm
$ npm install mount-image --save

# use yarn
$ yarn add mount-image
```

## Usage

### General use

```js
import mountImage from 'mount-image'

mountImage('image url', options)
```

2. by require

```js
const mountImage = require('mount-image')

mountImage('image url', options)
```

### Use CDN resource

```html
<!-- head -->
<script src="https://unpkg.com/mount-image@1.2.0/dist/index.global.prod.js"></script>
```

## Support & Issues

Please open an issue [here](https://github.com/saqqdy/browsers/issues).

## License

[MIT](LICENSE)

[npm-image]: https://img.shields.io/npm/v/mount-image.svg?style=flat-square
[npm-url]: https://npmjs.org/package/mount-image
[codacy-image]: https://app.codacy.com/project/badge/Grade/f70d4880e4ad4f40aa970eb9ee9d0696
[codacy-url]: https://www.codacy.com/gh/saqqdy/mount-image/dashboard?utm_source=github.com&utm_medium=referral&utm_content=saqqdy/mount-image&utm_campaign=Badge_Grade
[codecov-image]: https://img.shields.io/codecov/c/github/saqqdy/mount-image.svg?style=flat-square
[codecov-url]: https://codecov.io/github/saqqdy/mount-image?branch=master
[download-image]: https://img.shields.io/npm/dm/mount-image.svg?style=flat-square
[download-url]: https://npmjs.org/package/mount-image
[gzip-image]: http://img.badgesize.io/https://unpkg.com/mount-image/dist/index.global.prod.js?compression=gzip&label=gzip%20size:%20JS
[gzip-url]: http://img.badgesize.io/https://unpkg.com/mount-image/dist/index.global.prod.js?compression=gzip&label=gzip%20size:%20JS
[license-image]: https://img.shields.io/badge/License-MIT-blue.svg
[license-url]: LICENSE
[sonar-image]: https://sonarcloud.io/api/project_badges/quality_gate?project=saqqdy_browsers
[sonar-url]: https://sonarcloud.io/dashboard?id=saqqdy_browsers

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