Socket
Socket
Sign inDemoInstall

mount-script

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mount-script

A simple function for mounting javascript


Version published
Weekly downloads
27
decreased by-38.64%
Maintainers
1
Weekly downloads
 
Created
Source

mount-script

A simple function for mounting javascript

NPM version Codacy Badge Test coverage npm download gzip License

Sonar

Installing

# use pnpm
$ pnpm install mount-script

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

# use yarn
$ yarn add mount-script

Usage

General use

import mountScript from 'mount-script'

mountScript('js url', options)
  1. by require
const mountScript = require('mount-script')

mountScript('js url', options)

Use CDN resource

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

Support & Issues

Please open an issue here.

License

MIT

Keywords

FAQs

Package last updated on 05 Jun 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc