1. If you're launching the tests outside of 'node_modules' folder, replace lines in 'ExamplesAssist.js'
Instead of first four lines should be added
const barcode_ = require("aspose.barcode");
const aspose_barcode = barcode_.AsposeBarcode
2. Run command 'npm install'
3. Put the license file 'Aspose.BarCode.NodeJsviaJava.lic' to the folder lic.
The expected name of the license file is Aspose.BarCode.NodeJsviaJava.lic.
You can change it by changing line 10 of ExampleAssist.js.
4. Open and run every file consistently :
how_to_generate_and_read_example.js
how_to_generate_barcode_examples.js
how_to_read_barcode_examples.js
You can run them from the command line,
for example 'node how_to_generate_and_read_example.js.cmd'

