node-csfd-api 2.7.0 → 2.7.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.
Files changed (2) hide show
  1. package/README.md +18 -7
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -7,16 +7,17 @@
7
7
 
8
8
  > JavaScript NPM library for scraping **Czech Movie Database (csfd.cz)**
9
9
  >
10
- > - Browser + Node.js (SSR)
11
10
  > - JavaScript / TypeScript
11
+ > - Browser + Node.js (SSR)
12
12
  > - Tested (~100% Code coverage)
13
13
  > - ✅ Ready for new ČSFD 2021!
14
14
  > - You can use in:
15
15
  > - Firebase function
16
16
  > - AWS λ (lambda function)
17
+ > - CloudFlare Worker
17
18
  > - Chrome extension
18
19
  > - React native app
19
- > - ...
20
+ > - Browsers (Pay attention to CORS)
20
21
 
21
22
  ## Install
22
23
 
@@ -138,7 +139,7 @@ csfd.movie(535121).then((movie) => console.log(movie));
138
139
 
139
140
  ### Search
140
141
 
141
- > Search movies and users
142
+ > Search movies, users and TV series
142
143
 
143
144
  ```javascript
144
145
  import { csfd } from 'node-csfd-api';
@@ -199,7 +200,7 @@ users: [
199
200
 
200
201
  ### Creators
201
202
 
202
- > Search creators and filmography
203
+ > Get creator info + filmography
203
204
 
204
205
  ```javascript
205
206
  import { csfd } from 'node-csfd-api';
@@ -351,9 +352,19 @@ _Note: You can not use both parameters 'includesOnly' and 'excludes'. Parameter
351
352
 
352
353
  ## Used by
353
354
 
354
- - [Dafilms web extension](https://chrome.google.com/webstore/detail/dafilms/hgcgneddmgflnbmhkjnefiobjgobbmdm?hl=en) ([code](https://github.com/bartholomej/dafilms-ext)) – Parser for film ratings (web extension)
355
- - [bartweb.cz](https://bartweb.cz) – **Last seen** section (Firebase function)
356
- - KinoKlub Mobile application for AeroFilms (native Android + iOS application)
355
+ ### Web extensions
356
+
357
+ - [Netflix: chrome extension](https://chrome.google.com/webstore/detail/netflix-csfd/eomgekccbddnlpmehgdjmlphndjgnlni) ([code](https://github.com/bartholomej/netflix-csfd-ext))
358
+ - [Dafilms: chrome extension](https://chrome.google.com/webstore/detail/dafilms/hgcgneddmgflnbmhkjnefiobjgobbmdm) ([code](https://github.com/bartholomej/dafilms-ext))
359
+ - [Kviff.tv: chrome extension](https://chrome.google.com/webstore/detail/kvifftv-%20-csfd/ihpngekoejodiligajlppbeedofhnmfm) ([code](https://github.com/bartholomej/kviff-ext))
360
+
361
+ ### Web applications
362
+
363
+ - [bartweb.cz](https://bartweb.cz) – **Last seen** section (**Firebase function**)
364
+
365
+ ### Mobile applications
366
+
367
+ - KinoKlub – Mobile application for AeroFilms (React Native: Android + iOS application)
357
368
 
358
369
  ## Roadmap
359
370
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-csfd-api",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)",
5
5
  "main": "./index.js",
6
6
  "author": "BART! <bart@bartweb.cz>",
@@ -12,8 +12,9 @@
12
12
  "tsc": "tsc",
13
13
  "demo": "ts-node demo",
14
14
  "lint": "eslint ./src/**/**/* --fix",
15
- "test": "jest",
16
- "publish:next": "yarn && yarn build && yarn test --coverage true && cd dist && npm publish --tag next",
15
+ "test": "vitest",
16
+ "test:coverage": "yarn test run --coverage",
17
+ "publish:next": "yarn && yarn build && yarn test:coverage && cd dist && npm publish --tag next",
17
18
  "postversion": "git push && git push --follow-tags",
18
19
  "release:beta": "npm version preminor --preid=beta -m \"chore(update): prelease %s β\"",
19
20
  "prerelease:beta": "npm version prerelease --preid=beta -m \"chore(update): prelease %s β\"",
@@ -27,7 +28,7 @@
27
28
  },
28
29
  "dependencies": {
29
30
  "cross-fetch": "^3.1.5",
30
- "node-html-parser": "^6.1.4"
31
+ "node-html-parser": "^6.1.5"
31
32
  },
32
33
  "repository": {
33
34
  "url": "git+https://github.com/bartholomej/node-csfd-api.git",