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)
- 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.