npm.io
1.2.0 • Published 3 years ago

mount-image

Licence
MIT
Version
1.2.0
Deps
0
Size
14 kB
Vulns
0
Weekly
0
Stars
2

mount-image

A simple function for mounting image

NPM version Codacy Badge Test coverage npm download gzip License

Sonar

Installing

# use pnpm
$ pnpm install mount-image

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

# use yarn
$ yarn add mount-image

Usage

General use
import mountImage from 'mount-image'

mountImage('image url', options)
  1. by require
const mountImage = require('mount-image')

mountImage('image url', options)
Use CDN resource
<!-- head -->
<script src="https://unpkg.com/mount-image@1.2.0/dist/index.global.prod.js"></script>

Support & Issues

Please open an issue here.

License

MIT

Keywords