Supported Node.js Version

Related Specification

Main Reason

Applies to

Syntax for JS services

Supported Node.js version

N/A

Supported Node.js Version

webOS TV supports the different versions of Node.js core modules depending on the webOS version as below.

webOS TV Version

Node.js Version

webOS TV 1.x

v0.10.15

webOS TV 2.x

v0.10.25

webOS TV 3.x

v0.12.2

webOS TV 4.x

v0.12.2

webOS TV 5.0

v8.12.0

webOS TV 6.0

v12.14.1

webOS TV 22

v12.21.0

When developing JS services, you should keep in mind supported Node.js version by webOS TV version. For example, in webOS TV 4.x or lower, the ES6 syntax, such as the following, is not supported.

  • const, let

  • arrow function

  • destructing

You can check the syntax supported by Node.js version at https://node.green/.
Navigation