3
3
## About / О проекте
4
4
5
5
** DjVu.js** is a program library for working with ` .djvu ` online. It's written
6
- in JavaScript and can be run in the web browsers without any connection with the
6
+ in JavaScript and can be run in a web browser without any connection with a
7
7
server. DjVu.js can be used for splitting (and concatenation) of ` .djvu ` files,
8
8
rendering pages of a ` .djvu ` document, converting (and compressing) images
9
9
into ` .djvu ` documents and for analyzing of metadata of ` .djvu ` documents.
10
10
11
- ** DjVu.js Viewer** is an app which uses DjVu.js in order to render DjVu
11
+ ** DjVu.js Viewer** is an app which uses DjVu.js to render DjVu
12
12
documents. The app may be easily included into any html page. You can look at it
13
13
and try it out on the official website (the link is below).
14
14
15
- ** DjVu.js Viewer browser extension** . By and large it's a copy of the viewer,
15
+ ** DjVu.js Viewer browser extension** . By and large, it's a copy of the viewer,
16
16
but also it allows opening links to ` .djvu ` files right in the browser without
17
- explicit downloading of a file . The links to the extension are below.
17
+ downloading them explicitly . The links to the extension are below.
18
18
19
19
<hr >
20
20
@@ -32,7 +32,7 @@ html-страницу. Данное приложение служит для п
32
32
33
33
** Расширение для браузера DjVu.js Viewer** . По большей части это копия
34
34
приложения DjVu.js Viewer, однако также расширение позволяет открывать ссылки
35
- на ` .djvu ` файлы прямо в браузере, не скачивая файл явно. Ссылки на расширение
35
+ на ` .djvu ` файлы прямо в браузере, не скачивая их явно. Ссылки на расширение
36
36
доступны ниже.
37
37
38
38
## Translation (localization)
@@ -42,32 +42,32 @@ how to do it.
42
42
43
43
## How to build it
44
44
45
- If you have Node.js (10.x or higher) installed, after you cloned the repository,
46
- run
45
+ You need to have Node.js 16+ and npm 8+ installed.
46
+ Clone the repo and run:
47
47
48
48
```
49
49
npm run install
50
50
npm run build
51
51
````
52
52
53
53
in the root folder of the repository. The command will install all dependencies
54
- and create bundles of the library and of the viewer (the build folder should
54
+ and create bundles of the library and viewer (the ` build` folder should
55
55
appear).
56
56
57
- Also there is another way to do the same operations:
57
+ Also, there is another way to do the same operations:
58
58
59
59
```
60
60
npm run make
61
61
```
62
62
63
63
The command will clean all git-ignored files, install all the dependencies and
64
- build the library and the viewer. However, you should have `git` installed of
65
- course and the repository should have the `.git` folder (there is no one in the
64
+ build the library and viewer. However, you should have `git` installed
65
+ and the repository should have the `.git` folder (there is no one in the
66
66
source code uploaded to the browser extensions websites).
67
67
68
68
## How to start the viewer in the dev mode
69
69
70
- You have to build the library once. You can archive it via `npm run make`. Then
70
+ You have to build the library once. You can achieve it via `npm run make`. Then
71
71
you can start the viewer:
72
72
73
73
```
@@ -96,7 +96,7 @@ web-ext build
96
96
and the packed version of the extension will appear in the extension folder.
97
97
98
98
If you have some problems, read the technical documentation or create an issue.
99
- Also you can download the library from the official website. (All links are
99
+ Also, you can download the library from the official website. (All links are
100
100
below).
101
101
102
102
## Links
0 commit comments