Socket
Socket
Sign inDemoInstall

mount-image

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mount-image

A simple function for mounting image


Version published
Weekly downloads
23
decreased by-54%
Maintainers
1
Install size
13.6 kB
Created
Weekly downloads
 

Changelog

Source

2023.06.05 v1.2.0

  1. add mount-css mount-image mount-script mount-style load-source
  2. api docs: README.md

Readme

Source

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

FAQs

Last updated on 05 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc