uri-path

WebJar for uri-path

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

uri-path
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

uri-path
WebJar for uri-path
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/UltCombo/uri-path

Download uri-path

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/uri-path/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>uri-path</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/uri-path/
implementation 'org.webjars.npm:uri-path:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/uri-path/
implementation ("org.webjars.npm:uri-path:1.0.0")
'org.webjars.npm:uri-path:jar:1.0.0'
<dependency org="org.webjars.npm" name="uri-path" rev="1.0.0">
  <artifact name="uri-path" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='uri-path', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "uri-path" % "1.0.0"
[org.webjars.npm/uri-path "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

uri-path

NPM version Build Status devDependency Status

Convert relative file system paths into safe URI paths

Install

npm install --save uri-path

Usage

var URIpath = require('uri-path');

// Properly encode URI path segments
URIpath('../abc/@#$%¨&()[]{}-_=+ß/môòñ 月 قمر');
// -> '../abc/%40%23%24%25%C2%A8%26()%5B%5D%7B%7D-_%3D%2B%C3%9F/m%C3%B4%C3%B2%C3%B1%20%E6%9C%88%20%D9%82%D9%85%D8%B1'

// Also supports paths with Windows directory separators
URIpath('a\\b\\c');
// -> 'a/b/c'

Versions

Version
1.0.0