get-path-data

package to obtain the values that arrive by url, thought for the client side

Usage no npm install needed!

<script type="module">
  import getPathData from 'https://cdn.skypack.dev/get-path-data';
</script>

README

Path data

module to obtain the url information by the get method

import module

const {getPathData} = require("get-path-data")

how use this (example)

const {getPathData} = require("get-path-data")

const url = "http://localhost:3000/lp?name=jonh&last_name=smith&email=jonh@mail.com"

const data = getPathData(url)