//Problem z @types/request-promise:
- "@types/bluebird": "^3.5.19" zawieraja odniesienie do map ,ktore jest w ES6 (mozna zmienici tsconfig.json target:ES6 i module:commonjs )
-rozwiazanie to dodanie to tsconfig.json
"lib": [
"dom",
"es2015"
]
},
//Siemens s7-1200 response problem:
- Request to Siemens s7-1200 is not giving a normal respone : CE...0.
/^\s+|\s+$/g means: ^ // match the beginning of the string \s+ // match one or more whitespace characters | // OR if the previous expression does not match (i.e. alternation) \s+ // match one or more whitespace characters $ // match the end of the string