From 6983f8773b9568ccb34a5527fb530a85147ee920 Mon Sep 17 00:00:00 2001 From: Raine Revere Date: Tue, 22 Dec 2020 15:56:24 -0700 Subject: [PATCH] README: Add install instructions and fix typos --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9312d2b..e24074b 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,16 @@ ## test whether a CSS media type or media query applies +## Install + +```sh +npm install matchmedia-polyfill +``` + ## Usage ```js -// Likely want to requier both polyfills.. +// Likely want to require both polyfills... require('matchmedia-polyfill'); require('matchmedia-polyfill/matchMedia.addListener'); ```