This library is a package of security tools for your application. It is currently in the development phase. You can find out more about this in TODO. It will soon be open for contributions and will have more authentication and security options, such as protection for inputs containing XSS and other types of content injection in files, etc.
npm i security-toolkit # or pnpx, bunx, yarn dlx, etc.
import SecurityToolKit from "security-toolkit";
// configurations can be found in more detail in the WIKI.
const securityToolkit = new SecurityToolKit({
TOTP: {
window: 30,
timeStep: 30,
},
});
import { createRequire } from "module";
const require = createRequire(import.meta.url);
const SecurityToolKit = require("security-toolkit").default;
// configurations can be found in more detail in the WIKI.
const securityToolkit = new SecurityToolKit({
TOTP: {
window: 30,
timeStep: 30,
},
});
- TOTP : github