Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (security-toolkit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Security Toolkit
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.
Initial Setup
First, you need to install the package using the command:
npm i security-toolkit # or pnpx, bunx, yarn dlx, etc.
After installation, you should initialize the library in your project:
Typescript:
import SecurityToolKit from "security-toolkit";
// configurations can be found in more detail in the WIKI.
const securityToolkit = new SecurityToolKit({
TOTP: {
window: 30,
timeStep: 30,
},
});
Javascript:
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,
},
});
Wiki
- TOTP : github