ptoect
Some checks failed
CI / ci (push) Has been cancelled

This commit is contained in:
mokangleb1818-crypto
2026-05-18 10:55:29 +03:00
commit 61b4c108c2
4001 changed files with 1385100 additions and 0 deletions

35
node_modules/strip-literal/dist/index.d.cts generated vendored Normal file
View File

@@ -0,0 +1,35 @@
import * as js_tokens from 'js-tokens';
import { Token } from 'js-tokens';
interface StripLiteralOptions {
/**
* Will be called for each string literal. Return false to skip stripping.
*/
filter?: (s: string) => boolean;
/**
* Fill the stripped literal with this character.
* It must be a single character.
*
* @default ' '
*/
fillChar?: string;
}
declare function stripLiteralJsTokens(code: string, options?: StripLiteralOptions): {
result: string;
tokens: Token[];
};
/**
* Strip literal from code.
*/
declare function stripLiteral(code: string, options?: StripLiteralOptions): string;
/**
* Strip literal from code, return more detailed information.
*/
declare function stripLiteralDetailed(code: string, options?: StripLiteralOptions): {
result: string;
tokens: js_tokens.Token[];
};
export { type StripLiteralOptions, stripLiteral, stripLiteralDetailed, stripLiteralJsTokens };