Installation and running examples Node.js via C++
Contents
[
Hide
Show
]Installing Aspose.Page for Node.js
Aspose.Page for Node.js via C++ is easy to integrate into the Node.js environment.
To install and use Aspose.Page for Node.js via C++ from NPMJS, follow the following instructions:
- npm i asposefontnodejs
- rename your *.lic file to ‘aspose.lic’ if it exists
To install and use Aspose.Page for Node.js from a ZIP archive, follow the following instructions:
- download the archive from the Aspose.Page site
- unZIP the files
- rename your *.lic file to ‘aspose.lic’ if it exists
- use AsposeFontforNode in your cjs:
1const AsposePage = require('asposepagenodejs');
- or mjs modules:
1import AsposeFont from 'asposepagenodejs';
You can also directly download a ZIP archive by clicking the ‘Download’ button or get a specific release.
Run examples
Just run
1node example.cjs
or
1node example.mjs
System Requirements
Aspose.Page for Node.js is developed to work in Node.js environment. It is recommended to use Node.js latest version (20.14 and above)