3.0.3 • Published 6 years ago

tiny-parse v3.0.3

Weekly downloads
24
License
BSD-3-Clause
Repository
github
Last release
6 years ago

tiny-parse

build status

URL parsing with coercion of query

Example

"use strict";

const parse = require("tiny-parse");

console.log(parse("http://localhost/?abc=true").query.abc === true); // true
console.log(parse("http://localhost/?abc=true", false).query.abc === true); // false

API

parse(arg, coerce=true) Parses the input, accepts a URL or http.ClientRequest

License

Copyright (c) 2018 Jason Mulligan Licensed under the BSD-3 license.

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago