File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
UsesCases/Pages/wordsCount Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
// 6. Perform some action after successful addition
7
7
// All values of variables starting with "YOUR_****" should be replaced by real user values
8
8
9
- import credentials from "../../../../Credentials /credentials.json" with { type : "json" } ;
9
+ import credentials from "./credentials.json" with { type : "json" } ;
10
10
import fs from 'node:fs/promises' ;
11
11
import path from 'node:path' ;
12
- import { PdfApi } from "../../../src/api/api.js " ;
12
+ import { PdfApi } from "asposepdfcloud " ;
13
13
14
14
const configParams = {
15
15
LOCAL_FOLDER : "C:\\Samples\\" ,
@@ -60,4 +60,4 @@ export default pdfPages;
60
60
( async ( ) => {
61
61
await pdfPages . uploadDocument ( ) ;
62
62
await pdfPages . getWordsCount ( ) ;
63
- } ) ( ) . catch ( ( error ) => { console . log ( error . message ) ; } ) ;
63
+ } ) ( ) . catch ( ( error ) => { console . log ( error . message ) ; } ) ;
You can’t perform that action at this time.
0 commit comments