UNPKG

react-router-ga

Version:

[![Downloads](https://img.shields.io/npm/dm/react-router-ga)](https://npm.im/react-router-ga) [![Version](https://img.shields.io/npm/v/react-router-ga)](https://npm.im/react-router-ga) [![License](https://img.shields.io/npm/l/react-router-ga)](https://ope

12 lines (8 loc) 350 B
// Copyright 2017 Simon Lydell // X11 (“MIT”) Licensed. (See LICENSE.) var decodeUriComponent = require("decode-uri-component") function customDecodeUriComponent(string) { // `decodeUriComponent` turns `+` into ` `, but that's not wanted. return decodeUriComponent(string.replace(/\+/g, "%2B")) } module.exports = customDecodeUriComponent