From 38c9d0c81ddb8ed82aeae8b0674f2f4fd4dcbe85 Mon Sep 17 00:00:00 2001 From: Mark Tinsley Date: Thu, 31 Mar 2016 09:26:56 -0500 Subject: [PATCH] Tiny change to code example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 59b0484..0f37873 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,12 @@ Example: var url = require("fast-url-parser"); // the querystringparser module supports nested properties url.queryString = require("querystringparser"); -var parsed = Url.parse('/path?user[name][first]=tj&user[name][last]=holowaychuk', true); +var parsed = url.parse('/path?user[name][first]=tj&user[name][last]=holowaychuk', true); console.log(parsed.query); //{ user: { name: { first: 'tj', last: 'holowaychuk' } } } ``` -If in your application you may want all modules use this parser automatically, you can do so by inserting this line at the beginning of your application: +If in your application you want all modules use this parser automatically, you can do so by inserting this line at the beginning of your application: ```js require("fast-url-parser").replace();