url-or-path
Advanced tools
Comparing version 2.0.0 to 2.1.0
10
index.js
@@ -29,2 +29,10 @@ import {fileURLToPath, pathToFileURL} from 'node:url' | ||
export {toDirectory, toUrl, toUrl as toURL, toPath} | ||
export { | ||
isUrl, | ||
isUrlInstance, | ||
isUrlString, | ||
toDirectory, | ||
toUrl, | ||
toUrl as toURL, | ||
toPath, | ||
} |
{ | ||
"name": "url-or-path", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Convert between file URL and path.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/fisker/url-or-path#readme", |
@@ -56,1 +56,13 @@ # url-or-path | ||
Same as `toUrl`, but the result URL always ends with `/`. | ||
### `isUrl(object)` | ||
Check if `object` is a `URL` instance of `file://` string. | ||
### `isUrlInstance(object)` | ||
Check if `object` is a `URL` instance. | ||
### `isUrlString(object)` | ||
Check if `object` is a `file://` string |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5896
28
68