@Kinokio ECMA-262 стандарт, подробнее здесь:
https://doc.qt.io/qt-5/qtscript-index.html#language-overview
У меня есть вот такой
var speakeasy = require ('speakeasy');
const fs = require("fs");
let secret = process.argv[2];
var token = [[RESULT]] = speakeasy.totp({
secret: [[SECRET]],
encoding: 'base32'
});
console.log(token);
fs.writeFile("code.txt", token, 'utf8',(res) => {
console.log(res);
});
Мне нужен другой. Этот с веб версии