mirror of
				https://github.com/johnwhitington/cpdf-source.git
				synced 2025-06-05 22:09:39 +02:00 
			
		
		
		
	more
This commit is contained in:
		| @@ -1,24 +1,18 @@ | ||||
| // CHAPTER -1: Introduction | ||||
|  | ||||
| /** | ||||
| Use | ||||
| --- | ||||
|  | ||||
| For development server-side with node: cpdf.js (minified version cpdf.min.js) | ||||
| cpdf.js can be used from both node and the browser. | ||||
|  | ||||
| Load with "const cpdf = require('cpdf.js')" if installed in npm, or "const cpdf | ||||
| = require('./cpdf.js')" to load from current directory. | ||||
| For development server-side with node: `cpdf.js` (minified version | ||||
| `cpdf.min.js`) Load with `const cpdf = require('cpdf.js')` if installed in npm, | ||||
| or `const cpdf = require('./cpdf.js')` to load from current directory. | ||||
|  | ||||
| For development client-side with the browser : cpdf.browser.js | ||||
|  | ||||
| (Minified version for deployment : cpdf.browser.min.js) | ||||
|  | ||||
| Load with <script src="cpdf.browser.js"></script> or similar. | ||||
|  | ||||
|  | ||||
| Concurrency | ||||
| ----------- | ||||
|  | ||||
| cpdf.js is synchronous and non-re-entrant. | ||||
| For development client-side with the browser : `cpdf.browser.js` (minified | ||||
| version for deployment : `cpdf.browser.min.js`). Load with `<script | ||||
| src="cpdf.browser.js"></script>` or similar. | ||||
|  | ||||
|  | ||||
| Data types | ||||
| @@ -40,3 +34,9 @@ Errors | ||||
| Any function may raise an exception, containing a string describing the problem.  | ||||
|  | ||||
|  | ||||
| Concurrency | ||||
| ----------- | ||||
|  | ||||
| cpdf.js is synchronous and non-re-entrant. In the browser, best used in a worker. | ||||
| **/ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user