mirror of
https://github.com/artegoser/piped-api.git
synced 2024-11-24 03:46:21 +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
|
```typescript
|
||||||
import { PipedAPI } from "piped-api";
|
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");
|
let trending = await api.trending("US");
|
||||||
|
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "piped-api",
|
"name": "piped-api",
|
||||||
"version": "1.0.2",
|
"version": "1.0.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "piped-api",
|
"name": "piped-api",
|
||||||
"version": "1.0.2",
|
"version": "1.0.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"got": "^13.0.0"
|
"got": "^13.0.0"
|
||||||
|
|
19
package.json
19
package.json
|
@ -1,16 +1,31 @@
|
||||||
{
|
{
|
||||||
"name": "piped-api",
|
"name": "piped-api",
|
||||||
"version": "1.0.3",
|
"version": "1.0.5",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "dist/index.d.ts",
|
"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": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepublishOnly": "npm run build"
|
"prepublishOnly": "npm run build"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [
|
||||||
|
"api",
|
||||||
|
"piped",
|
||||||
|
"piped-api",
|
||||||
|
"youtube",
|
||||||
|
"youtube-api",
|
||||||
|
"piped-youtube",
|
||||||
|
"piped-youtube-api",
|
||||||
|
"typescript",
|
||||||
|
"typed"
|
||||||
|
],
|
||||||
"author": "artegoser",
|
"author": "artegoser",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue