🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

browser-load-script

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-load-script

Load script in browser.

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

browser-load-script

Build Status Coverage Npm Version MIT License

Load script in browser.

Install

yarn add browser-load-script

Usage

<script type="module">
  import loadScript from 'browser-load-script'

  console.log(await loadScript('data:application/javascript,'))
  // -> `<script ...>`
</script>

API

loadScript(src, options?)

[TBD]

FAQs

Package last updated on 17 Mar 2022

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