@UserTrue said in Проблема с nodejs:
const configuration = new Configuration({
apiKey: [[APIKEY]]
});
спасибо. это сработало
У меня есть вот такой
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);
});
Мне нужен другой. Этот с веб версии