Aniwatch API Version 2 (#66)

BREAKING CHANGE:

* chore: remove files that are not necessary for api v2

* test: update existing tests to use  pkg

* feat: organized aniwatch api envs and add more info about them

* feat: update tsconfig to include strict noUnsed params

* feat(api homepage): revamp api home page

* feat: update wani kuni image

* feat: add dot img

* feat: use hono cors

* feat: use hono rate limiter

* build: remove unnecessary deps, add ones needed and update description

* feat: add hianime routes and their handlers

* feat: update vercel deployment file

* docs: update logo and scraper docs, add envs section

* feat: update main server file

* feat: update peronal deployments caution section
This commit is contained in:
Ritesh Ghosh
2024-10-06 01:13:23 +05:30
committed by GitHub
parent 55810ccf23
commit 46f688ac12
84 changed files with 1028 additions and 3893 deletions
+9 -18
View File
@@ -1,7 +1,7 @@
{
"name": "aniwatch-api",
"version": "1.40.0",
"description": "Node.js API for obtaining anime information from hianime.to (formerly aniwatch.to)",
"description": "Node.js API for obtaining anime information from hianime.to",
"main": "src/server.ts",
"type": "module",
"scripts": {
@@ -31,26 +31,17 @@
"author": "https://github.com/ghoshRitesh12",
"license": "MIT",
"dependencies": {
"axios": "^1.7.7",
"cheerio": "1.0.0",
"cors": "^2.8.5",
"crypto-js": "^4.2.0",
"@hono/node-server": "^1.13.1",
"aniwatch": "^2.4.1",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-rate-limit": "^7.4.0",
"http-errors": "^2.0.0",
"morgan": "^1.10.0"
"hono": "^4.6.3",
"hono-rate-limiter": "^0.4.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/crypto-js": "^4.2.2",
"@types/express": "^4.17.21",
"@types/http-errors": "^2.0.4",
"@types/morgan": "^1.9.9",
"@types/node": "^22.5.4",
"@types/node": "^22.7.4",
"husky": "^8.0.3",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vitest": "^2.1.2"
}
}