# youtube-thin-wrapper

> a YouTube iframe API thinness wrapper

Latest version **1.0.1** (published 2015-09-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install youtube-thin-wrapper
pnpm add youtube-thin-wrapper
yarn add youtube-thin-wrapper
bun add youtube-thin-wrapper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-09-28 |
| First published | 2015-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 4.1.x |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | sugarshin |
| Maintainers | sugarshin |
| Keywords | youtube, iframe, browser |

## Links

- npm: https://www.npmjs.com/package/youtube-thin-wrapper
- Repository: https://github.com/sugarshin/youtube-thin-wrapper
- Homepage: https://github.com/sugarshin/youtube-thin-wrapper#readme
- Issues: https://github.com/sugarshin/youtube-thin-wrapper/issues
- npm.io page: https://npm.io/package/youtube-thin-wrapper

## Dependencies (1)

- [deep-extend](https://npm.io/package/deep-extend.md) ^0.4.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-09-28
- 1.0.0 — 2015-09-26

## README

# youtube-thin-wrapper

[![Build Status][travis-image]][travis-url]
[![GitHub version][github-ver-image]][github-ver-url]
[![License][license-image]][license-url]

a YouTube iframe API thinness wrapper

## Getting started

```
npm i youtube-thin-wrapper
```

## Usage

```js
import YouTube from 'youtube-thin-wrapper';

YouTube.autoLoadYouTubeAPI();

const youtube = new YouTube(id, opts);
youtube.create().then(player => {
  player.playVideo();
  // Can use other api methods and more...
});
```

**Promise is required**

## Contributing

1. Fork it!
2. Create your feature branch: git checkout -b my-new-feature
3. Commit your changes: git commit -am 'Add some feature'
4. Push to the branch: git push origin my-new-feature
5. Submit a pull request :D

## License

[MIT][license-url]

© sugarshin

[npm-image]: http://img.shields.io/npm/v/youtube-thin-wrapper.svg
[npm-url]: https://www.npmjs.org/package/youtube-thin-wrapper
[bower-image]: http://img.shields.io/bower/v/youtube-thin-wrapper.svg
[bower-url]: http://bower.io/search/?q=youtube-thin-wrapper
[travis-image]: http://img.shields.io/travis/sugarshin/youtube-thin-wrapper/master.svg?branch=master
[travis-url]: https://travis-ci.org/sugarshin/youtube-thin-wrapper
[gratipay-image]: http://img.shields.io/gratipay/sugarshin.svg
[gratipay-url]: https://gratipay.com/sugarshin/
[coveralls-image]: https://coveralls.io/repos/sugarshin/youtube-thin-wrapper/badge.svg
[coveralls-url]: https://coveralls.io/r/sugarshin/youtube-thin-wrapper
[github-ver-image]: https://badge.fury.io/gh/sugarshin%2Fyoutube-thin-wrapper.svg
[github-ver-url]: http://badge.fury.io/gh/sugarshin%2Fyoutube-thin-wrapper
[license-image]: http://img.shields.io/:license-mit-blue.svg
[license-url]: http://sugarshin.mit-license.org/
[downloads-image]: http://img.shields.io/npm/dm/youtube-thin-wrapper.svg
[dependencies-image]: http://img.shields.io/david/sugarshin/youtube-thin-wrapper.svg

---
_Source: https://npm.io/package/youtube-thin-wrapper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
