Tools to Capture and Convert the Web
GrabzIt's Online Community

Regarding the Installation of Grabzit through NPM

Hi,

I have installed the grabzit through npm  but when i try to access it by javascript it gives me the "fs not found in module issue", when i explored it got to know it is mentioned in your js library,but i commented the "fs" code from the js but later i got another error while accessing 

Then i got  the Access core issue

Is there any way that we can access the grabzit from javascript but by installing through npm.

 

Thanks

Charanjit Singh

 

 

Asked by GrabzIt Support on Monday, 10 June, 2019 01:20:48 PM

I am confused by your question. It sounds like you have installed our node.js library and are trying to use it like client-side JavaScript.

If you want to download our JavaScript library via npm. Follow the instructions on the JavaScript API download page.

Answered by GrabzIt Support on Monday, 10 June, 2019 01:27:51 PM

Hi,

I have used the npm option given in your answer so can you please let me now where to call the grabzit js file? 

 

Answered by Charanjit Singh on Monday, 10 June, 2019 03:54:15 PM

I am not sure exactly what you mean.

You just reference the JavaScript file like you would any normal JavaScript file. It will probably be in a folder labelled: node_modules\@grabzit\js

Under wherever you have configured your npm packages to go in your project directory. You can then call that JavaScript in any web page as explained in the documentation.

Answered by GrabzIt Support on Monday, 10 June, 2019 04:06:54 PM

Hi,

Thanks for sharing valuable answer here

I have one another query regarding the customized header footer, is possible here if i want to create customized header footer for each page there will be diffrent header and footer when i export into docx? 

Answered by Charanjit Singh on Monday, 10 June, 2019 04:29:39 PM

Only one header and footer template can be applied to a PDF or DOCX document. The header and footer within the document can be applied to all, the first, odd or even pages.

Answered by GrabzIt Support on Monday, 10 June, 2019 05:00:40 PM