Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1011 Bytes

README.md

File metadata and controls

44 lines (26 loc) · 1011 Bytes

url-extra

Linux Build Status Windows Build status Dependency Status devDependency Status

Improved path module.

Install

npm install --save url-extra

Usage

const urlExtra = require('url-extra');

// do something...

API Reference

Methods

urlExtra.normalize(url)

urlExtra.join(...)

urlExtra.dirname(url)

urlExtra.extname(url)

urlExtra.basename(url, extname)

urlExtra.basenameNoExt(url)

urlExtra.randomQuery(url)

License

MIT © 2017 Johnny Wu