Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vmwavie/security-toolkit
A package of security tools for your application. ( beta-testing )
https://github.com/vmwavie/security-toolkit
0auth crlf crypt npm npm-package npm-two-auth security-toolkit sql-injection two-factor xss
Last synced: 7 days ago
JSON representation
A package of security tools for your application. ( beta-testing )
- Host: GitHub
- URL: https://github.com/vmwavie/security-toolkit
- Owner: vmwavie
- License: mit
- Created: 2024-10-10T20:55:25.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2024-10-31T00:06:43.000Z (9 days ago)
- Last Synced: 2024-10-31T00:09:06.806Z (9 days ago)
- Topics: 0auth, crlf, crypt, npm, npm-package, npm-two-auth, security-toolkit, sql-injection, two-factor, xss
- Language: TypeScript
- Homepage:
- Size: 423 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
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](https://github.com/vmwavie/security-toolkit/blob/main/.github/docs/TODO.md). 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:
```bash
npm i security-toolkit # or pnpx, bunx, yarn dlx, etc.
```#### After installation, you should initialize the library in your project:
#### Typescript:
```ts
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:
```js
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](https://github.com/vmwavie/security-toolkit/blob/main/.github/docs/features/TOTP.md)
#### more features coming soon...
#### You can view the license for this code [here](https://raw.githubusercontent.com/vmwavie/security-toolkit/refs/heads/main/LICENSE.md).