diff --git a/readme.md b/readme.md index b368011..a0a81ec 100644 --- a/readme.md +++ b/readme.md @@ -4,31 +4,16 @@ Returns a YouTube channel's latest uploads. ## Installation -npm logo +npm logo ```bash -npm install --save fetch-youtube-uploads@^ +npm install --save fetch-youtube-uploads@^0.4.1 ``` -Yarn logo +Yarn logo ```bash -yarn add fetch-youtube-uploads@^ +yarn add fetch-youtube-uploads@^0.4.1 ``` -## Try it out -Open a browser's JavaScript console and execute: - -```javascript -const scriptElement = document.createElement("script"); -scriptElement.setAttribute("type","text/javascript"); -scriptElement.setAttribute("src","https://unpkg.com/fetch-youtube-uploads@0.4.1"); -document.querySelector("head").appendChild(scriptElement); -``` - -The module is now loaded in a variable. - -```javascript -typeof fetch-youtube-uploads.default -``` ## License