* stegclock

* fix test

* bug fix

* no idea why lodash is changed
This commit is contained in:
Sungmin Kim
2020-12-15 02:56:27 +09:00
committed by GitHub
parent 682517aa48
commit 4cf53efec1
4 changed files with 41 additions and 0 deletions

14
types/stegcloak/index.d.ts vendored Normal file
View File

@@ -0,0 +1,14 @@
// Type definitions for stemmer 1.0
// Project: https://github.com/KuroLabs/stegcloak
// Definitions by: Will Ockmore <https://github.com/ktjd123>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare class StegCloak {
constructor(encryption: boolean, hmac: boolean);
hide(secret: string, password: string, cover: string): string;
reveal(data: string, password: string): string;
}
export = StegCloak;

View File

@@ -0,0 +1,3 @@
import StegClock = require('stegcloak');
new StegClock(true, false);

View File

@@ -0,0 +1,23 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"stegcloak-tests.ts"
]
}

View File

@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }