Skip to content

kaisarsnippets/js-scriptpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ScriptPath

[browser] Get base path from loaded script.

Install

npm install kc-scriptpath

Use

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

About

[browser] Get base path from loaded script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published