Skip to content

A package of security tools for your application. ( beta-testing )

License

Notifications You must be signed in to change notification settings

vmwavie/security-toolkit

Repository files navigation

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

more features coming soon...

You can view the license for this code here.