This repository was archived by the owner on Dec 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +22
-1364
lines changed
Expand file tree Collapse file tree 7 files changed +22
-1364
lines changed Original file line number Diff line number Diff line change 11import { YouTube } from "../dist/mod.mjs" ;
22
3- const url = "https://www.youtube.com/watch?v=Sv6dMFF_yts " ;
3+ const url = "https://www.youtube.com/watch?v=dQw4w9WgXcQ " ;
44
55YouTube . getVideo ( url )
66 . then ( console . log ) // Video info
Original file line number Diff line number Diff line change 99 "types" : " dist/mod.d.ts" ,
1010 "module" : " dist/mod.mjs" ,
1111 "scripts" : {
12- "build" : " npm run build:node && npm run build:deno" ,
13- "prepublishOnly" : " npm run build" ,
12+ "build" : " bun run build:node && bun run build:deno" ,
13+ "prepublishOnly" : " bun run build" ,
1414 "build:node" : " tsup" ,
1515 "build:deno" : " node scripts/deno.js" ,
16- "format" : " prettier --write **/*.{js,ts}"
16+ "format" : " prettier --write \" **/*.{js,ts}\" "
1717 },
1818 "repository" : {
1919 "type" : " git" ,
5353 },
5454 "homepage" : " https://github.com/twlite/youtube-sr#readme" ,
5555 "devDependencies" : {
56- "@types/node" : " ^16.11.12 " ,
57- "chalk" : " ^5.0.1 " ,
58- "cross-fetch" : " ^3.1.5 " ,
59- "fs-extra" : " ^10.0 .0" ,
60- "prettier" : " ^2.3.0 " ,
56+ "@types/node" : " ^20.12.7 " ,
57+ "chalk" : " ^5.3.0 " ,
58+ "cross-fetch" : " ^4.0.0 " ,
59+ "fs-extra" : " ^11.2 .0" ,
60+ "prettier" : " ^3.2.5 " ,
6161 "readdirp" : " ^3.6.0" ,
62- "rimraf" : " ^3 .0.2 " ,
63- "ts-node" : " ^10.0.0 " ,
64- "tsup" : " ^5.11.11 " ,
65- "tsx" : " ^3.14.0 " ,
66- "typescript" : " ^4.3.2 "
62+ "rimraf" : " ^5 .0.5 " ,
63+ "ts-node" : " ^10.9.2 " ,
64+ "tsup" : " ^8.0.2 " ,
65+ "tsx" : " ^4.7.2 " ,
66+ "typescript" : " ^5.4.5 "
6767 }
68- }
68+ }
You can’t perform that action at this time.
0 commit comments