Skip to content

Commit

Permalink
Merge pull request #8 from tind/arfat/update/update-packages
Browse files Browse the repository at this point in the history
Misc: Update packages (IN-8479)
  • Loading branch information
ArfatSalman authored Feb 10, 2023
2 parents bd3794c + 2dba220 commit 19b8c4d
Show file tree
Hide file tree
Showing 9 changed files with 2,952 additions and 212 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf

# editorconfig-tools is unable to ignore longs strings or urls
max_line_length = off

[CHANGELOG.md]
indent_size = false
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
jest: true,
},
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
};
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12'
node-version: '14'
- name: Cache Node.js modules
uses: actions/cache@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ Options:
-q, --quality <quality> jpeg quality (default: 1)
-h, --help display help for command
```

## Test locally
```shell
node src/app.js -o a/ -F <STANDARD FONTs> test/Herja.pdf

# example: node src/app.js -o a/ -F /Users/arfat/Desktop/pdf-thumbnails/node_modules/pdfjs-dist/standard_fonts/ test/Herja.pdf
```
Loading

0 comments on commit 19b8c4d

Please sign in to comment.