1.0.0 • Published 4 years ago

simple-uriparser v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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