mount-image
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

/mount-image/

    Package Sidebar

    Install

    npm i mount-image

    Weekly Downloads

    17

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    13.9 kB

    Total Files

    11

    Last publish

    Collaborators

    • saqqdy