# jontv

> Get info using JonTV API!

Latest version **1.1.0** (published 2021-03-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install jontv
pnpm add jontv
yarn add jontv
bun add jontv
```

## 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.1.0 |
| Published | 2021-03-13 |
| First published | 2019-11-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | jonnygamingtv |
| Maintainers | jonnygamingtv |
| Keywords | JonTV, JonTube, Sharing, website, entertainment |

## Links

- npm: https://www.npmjs.com/package/jontv
- Repository: https://github.com/JonnygamingTv/JonTV
- Homepage: https://github.com/JonnygamingTv/JonTV#readme
- Issues: https://github.com/JonnygamingTv/JonTV/issues
- npm.io page: https://npm.io/package/jontv

## Dependencies (1)

- [ajax-request](https://npm.io/package/ajax-request.md) ^1.2.3

## Recent versions

- 1.1.0 (latest) — 2021-03-13
- 1.0.1 — 2019-11-18
- 1.0.0 — 2019-11-18

## README

# JonTV

Using the [npm package](https://npmjs.org/package/JonTV) will make you able to easily use the [website](https://JonTV.me) to get info etc.

### Usage:
using the ?v= input from the url
and it will either return error or it will return a json
```javascript
let JonTV = require('jontv');
JonTV('cm45gT2v', test);
function test(thing) {
	console.log(thing);
	try {
		let JSONobj = JSON.parse(thing);
		console.log(JSONobj.n);
	} catch(error) {
		console.log(error);
	}
}
JonTV.getuser('rK9JTIdB2eqsEkWQ', test);
JonTV.search('Creeper', search);
function search(thing) {
console.log(thing);
}
```

You can also try it out in the bot I made (Discord) [Invite](https://discordapp.com/api/oauth2/authorize?client_id=621320606343888896&permissions=0&redirect_uri=https%3A%2F%2Fwww.JonTube.com&scope=bot)

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