OPCUA and Javascript use two different rules to build identifiers.
OPCUA Identifier usually starts with a upper case letter and word are join together, this is known as the Pascal case, or CapitalizedWords convention. (for instance HelloWorld) But sometime, OPCUA identifiers do not follow this convention strictly and we can find various other convention being applied such as underscore between word, or addition of ACRONYMIC prefixes. On it's own, this causes great confusion and inconsistency in programming style.
Javascript uses a slightly different convention called camelCase where word are joined together and inner words starts with a capital letter whereas first word starts with a lower case letter. (for instance helloWorld)
In node-opcua we have taken the opinionated decision to consistently use camelCase convention for object properties so that all the code look nice and consistent. the lowerFirstLetter method can be used to easily convert from the OPCUA naming convention to javascript naming convention by applying the following rules.
reference:
HelloWorld => helloWorld
XAxis => xAxis
EURange => euRange
DATE => DATE
XYZ => XYZ
AB => AB
Ab => ab
A => a
T1ABC8 => T1ABC8
F_ABC_D => F_ABC_D
ALM_Timeout => ALM_timeout
SV_GasOn => SV_gasOn
DI_VAL_FlowImp => DI_VAL_flowImp
lowerFirstLetter convert a OPCUA Identifier to a javascript Identifier