UNPKG
@portive/client
Version:
latest (10.0.3)
10.0.3
10.0.2
10.0.1
10.0.0
9.2.0
9.1.0
9.0.0
8.0.3
8.0.2
8.0.1
8.0.0
7.2.5
7.2.4
7.2.3
7.2.0
7.0.3
7.0.2
7.0.1
7.0.0
1.0.3
1.0.2
1.0.1
Client to connect to and use Portive's cloud services for open source components
@portive/client
/
.dist
/
mjs
/
lib
/
server-env
/
index.js
8 lines
(7 loc)
•
278 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import { getStaticEnv }
from
"@thesunny/get-env"
; export
const
env
=
getStaticEnv
({
ENV_NAME
: process.env.ENV_NAME,
API_ORIGIN_URL
: process.env.API_ORIGIN_URL,
PORTIVE_AUTH_TOKEN
: process.env.PORTIVE_AUTH_TOKEN,
PORTIVE_API_KEY
: process.env.PORTIVE_API_KEY, });