Search
current-executing-script
Get the currently executing script, regardless of its source/trigger/synchronicity. Similar to HTML5's `document.currentScript` but arguably much more useful!
v0.1.3 URL:
https://unpkg.com/current-executing-script@0.1.3/dist/currentExecutingScript.js
Open
Browse Files
browser
document
currentScript
currentExecutingScript
html
dom
html5
not-spec-compliant
currentscript
Polyfill of HTML5's `document.currentScript`
v1.1.1 URL:
https://unpkg.com/currentscript@1.1.1/dist/document.currentScript.js
Open
Browse Files
browser
document
currentScript
html
dom
html5
spec-compliant
polyfill
shim