ani-cli-npm 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.MD CHANGED
@@ -19,7 +19,10 @@ npx ani-cli-npm@latest
19
19
  ```
20
20
  pkg install nodejs
21
21
  ```
22
- #### - Run npx ani-cli-npm@latest
22
+ #### - Run
23
+ ```
24
+ npx ani-cli-npm@latest
25
+ ```
23
26
  ##### Note: At preset (1.0.6), you will need to change the player to browser, and will have to do any downloads through your browser of choice.
24
27
 
25
28
  ### Linux:
@@ -64,4 +67,4 @@ npx ani-cli-npm@latest
64
67
 
65
68
  ### This project is still somewhat under development, as such, there are a few bugs you may run into. Feel free to open an issue on github, though there is a solid chance I am aware of it and just havn't gotten round to fixing it yet.
66
69
 
67
- ## Happy watching :)
70
+ ## Happy watching :)
package/bin/index.js CHANGED
@@ -401,8 +401,6 @@ async function play(link, anime){
401
401
  }
402
402
 
403
403
  async function search(){
404
- console.clear()
405
- console.log(colors.Blue, "ANI-CLI-NPM \n")
406
404
  console.log(colors.Magenta, "Search...")
407
405
  let choice = await input("")
408
406
  let anime = await process_search(choice)
@@ -474,7 +472,7 @@ async function main(){
474
472
  await search()
475
473
  break
476
474
  case "c":
477
- case 2:
475
+ case "2":
478
476
  if (config.most_recent.episode_number !== 0){
479
477
  await _continue()
480
478
  }else{
@@ -512,7 +510,7 @@ async function main(){
512
510
  await main()
513
511
  break
514
512
  case "q":
515
- case 4:
513
+ case "4":
516
514
  console.log(colors.Black, "Exiting...")
517
515
  process.exit()
518
516
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ani-cli-npm",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "ani-cli tool rewritten as npm package",
5
5
  "main": "index.js",
6
6
  "scripts": {