Skip to content

Commit

Permalink
Automatically merged commits from pull #7
Browse files Browse the repository at this point in the history
Update readme.md with Jaid/action-readme
  • Loading branch information
github-actions[bot] authored Dec 9, 2019
2 parents d68f4fd + c4d15c3 commit c25c55b
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,16 @@
Returns a YouTube channel's latest uploads.

## Installation
<a href='https://npmjs.com/package/fetch-youtube-uploads'><img alt='npm logo' src='https://raw.githubusercontent.com/npm/logos/master/npm%20logo/npm-logo-red.png' height=16/></a>
<a href='https://npmjs.com/package/fetch-youtube-uploads'><img alt='npm logo' src='https://github.com/Jaid/action-readme/raw/master/images/base-assets/npm.png'/></a>
```bash
npm install --save fetch-youtube-uploads@^
npm install --save fetch-youtube-uploads@^0.4.1
```
<a href='https://yarnpkg.com/package/fetch-youtube-uploads'><img alt='Yarn logo' src='https://raw.githubusercontent.com/yarnpkg/assets/master/yarn-kitten-full.png' height=24/></a>
<a href='https://yarnpkg.com/package/fetch-youtube-uploads'><img alt='Yarn logo' src='https://github.com/Jaid/action-readme/raw/master/images/base-assets/yarn.png'/></a>
```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
Expand Down

0 comments on commit c25c55b

Please sign in to comment.