Skip to content

Commit

Permalink
chore: remove bit about copy and paste
Browse files Browse the repository at this point in the history
  • Loading branch information
DesignByOnyx committed Apr 13, 2021
1 parent 91c8f86 commit feb3cb5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Expand Up @@ -296,10 +296,7 @@ var primitiveValues = qs.parse('a=15&b=true&c=null');
assert.deepEqual(primitiveValues, { a: '15', b: 'true', c: 'null' });
```

If you wish to auto-convert values which look like numbers, booleans, and other values into their primitive values, you can do one of the following:

- [Install Express JS middleware to auto-convert request query parameters](https://github.com/xpepermint/query-types)
- [Copy the above MIT licensed coercion code](https://github.com/xpepermint/query-types/blob/master/index.js) directly into your project and modify it as you see fit. This code has been used on some very large projects and gives you the greatest amount of control over your data.
If you wish to auto-convert values which look like numbers, booleans, and other values into their primitive counterparts, you can use the [query-types Express JS middleware](https://github.com/xpepermint/query-types) which will auto-convert all request query parameters.

### Stringifying

Expand Down

0 comments on commit feb3cb5

Please sign in to comment.