UNPKG
captcha-canvas-js
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A simple captcha generator using canvas in JavaScript
captcha-canvas-js
/
dist
/
memory
/
memory-store.d.ts
8 lines
(7 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
CaptchaStore
}
from
"../types"
;
export
declare
class
MemoryStore
implements
CaptchaStore
{
private
store;
set
(
id
:
string
,
value
:
string
):
Promise
<
void
>;
get
(
id
:
string
):
Promise
<
string
|
null
>;
delete
(
id
:
string
):
Promise
<
void
>; }