kc-scriptpath

1.0.3 • Public • Published

ScriptPath

[browser] Get base path from loaded script.

Install

npm install kc-scriptpath

Use

var pth = scriptPath('my-script.js');
console.log(pth);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i kc-scriptpath

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

1.95 kB

Total Files

4

Last publish

Collaborators

  • kaisarcode