open-index/open-npm huggingface dataset:
npm package: @helb/script-url
Description: Gets URL of currently running script.
Author: helb
Latest version: 1.0.0

# `script-url`

> Gets URL of currently running script (browser only) as a string.

## Usage

```js
import scriptUrl from "@helb/script-url";

console.log(scriptUrl()) // -> eg. "http://localhost:3000/script.js"