@quetils/make
Make object to query string
Last updated 9 months ago by kernyoo .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @quetils/make 
SYNC missed versions from official npm registry.

@quetils/make

Make query string to object

Install

# npm
npm i @quetils/make

# yarn
yarn add @quetils/make

Usage

const make = require('@quetils/make');

const url = 'localhost:8080/test?test1=1&test2=2';
console.log(make(url)); // { test1: 1, test2: 2 }

Current Tags

  • 1.0.4                                ...           latest (9 months ago)

2 Versions

  • 1.0.4                                ...           9 months ago
  • 1.0.4-alpha.0                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |