UNPKG
@nodesecure/authors
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
NodeSecure (npm) authors analysis package
github.com/NodeSecure/authors
NodeSecure/authors
@nodesecure/authors
/
src
/
helper.js
10 lines
(7 loc)
•
269 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
domainsInformations = {};
export
function
storeDomainExpirationInMemory
(
{ domain, expirationDate }
) { domainsInformations[domain] = expirationDate; }
export
function
getDomainExpirationFromMemory
(
domain
) {
return
domainsInformations[domain] ??
undefined
; }