doc: update version and fix readme

This commit is contained in:
Artemy 2023-08-03 21:34:10 +03:00
parent 8e8a55bddd
commit d018ea89fc
3 changed files with 20 additions and 5 deletions

View file

@ -13,7 +13,7 @@ npm i piped-api
```typescript
import { PipedAPI } from "piped-api";
const api = new PipedApi("https://ytapi.dc09.ru");
const api = new PipedAPI("https://ytapi.dc09.ru");
let trending = await api.trending("US");

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "piped-api",
"version": "1.0.2",
"version": "1.0.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "piped-api",
"version": "1.0.2",
"version": "1.0.5",
"license": "MIT",
"dependencies": {
"got": "^13.0.0"

View file

@ -1,16 +1,31 @@
{
"name": "piped-api",
"version": "1.0.3",
"version": "1.0.5",
"description": "",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"homepage": "https://github.com/artegoser/piped-api#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/artegoser/piped-api.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc",
"prepublishOnly": "npm run build"
},
"keywords": [],
"keywords": [
"api",
"piped",
"piped-api",
"youtube",
"youtube-api",
"piped-youtube",
"piped-youtube-api",
"typescript",
"typed"
],
"author": "artegoser",
"license": "MIT",
"devDependencies": {