1.0.0 • Published 4 years ago
simple-uriparser v1.0.0
Simple URI parser
Utility merged URL with parameter and return URL parsed
Install
$ npm install --save simple-uriparser
Use
const uriParser = require('simple-uriparser');
const params = {
id: '1a2b3c4d5e6f',
lang: 'es'
}
const urlParsed = uriParser.parser('http://url.test.com/:id?lang=:lang', params);
Developers run test
$ npm run test
1.0.0
4 years ago