From d8c38b1afbc39e0052483d60d56646296de0f35c Mon Sep 17 00:00:00 2001 From: chocolateboy Date: Sun, 2 Aug 2020 15:19:36 +0000 Subject: [PATCH] docs: fix typos in readme closes #11 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 37edad1..720d303 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ Simple RFC 6838 media type parser. -This module will parse a given media type into it's component parts, like type, +This module will parse a given media type into its component parts, like type, subtype, and suffix. A formatter is also provided to put them back together and the two can be combined to normalize media types into a canonical form. -If you are looking to parse the string that represents a media type and it's +If you are looking to parse the string that represents a media type and its parameters in HTTP (for example, the `Content-Type` header), use the [content-type module](https://www.npmjs.com/package/content-type). @@ -75,7 +75,7 @@ If any of the given object values are invalid, then a `TypeError` is thrown. var valid = typer.test('image/svg+xml') ``` -Validate a media type string. This will return `true` is the string is a well- +Validate a media type string. This will return `true` if the string is a well- formatted media type, or `false` otherwise. ## License