mirror of
https://github.com/artegoser/piped-api.git
synced 2024-12-25 02:03:47 +03:00
doc: update version and fix readme
This commit is contained in:
parent
8e8a55bddd
commit
d018ea89fc
3 changed files with 20 additions and 5 deletions
|
@ -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
4
package-lock.json
generated
|
@ -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"
|
||||
|
|
19
package.json
19
package.json
|
@ -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": {
|
||||
|
|
Loading…
Add table
Reference in a new issue