Installation and running examples - Node.js via С++
Contents
[
Hide
Show
]Installing Aspose.Font for Node.js
Aspose.Font for Node.js via C++ is a easy to integrate into the Node.js environment.
To install and use Aspose.Font 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.Font for Node.js from a ZIP archive, follow the following instructions:
- download the archive from the Aspose.Font site
- unZIP the files
- rename your *.lic file to ‘aspose.lic’ if it exists
- use AsposeFontforNode in your cjs:
1const AsposeFont = require('asposefontnodejs');
- or mjs modules:
1import AsposeFont from 'asposefontnodejs';
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.Font for Node.js is developedto work in Node.js environment. It is recommended to use Node.js latest version (20.14 and above)