Home
Sign Up
Sign In
Advertisement
V2EX
›
Node.js
Node.js 有没有设置系统环境变量的库
just4test
·
Jul 25, 2016
· 3729 views
This topic created in 3760 days ago, the information mentioned may be changed or developed.
Node
变量
设置
环境
5 replies
•
2016-08-23 11:51:09 +08:00
adoyle
Jul 25, 2016
1
1
https://github.com/kentcdodds/cross-env
arzusyume
Jul 26, 2016
2
我最早是用 node-env-file, 后来用 pm2 就直接定义启动参数的文件了
m31271n
Aug 17, 2016
3
`process.env` 就够了
just4test
OP
Aug 17, 2016
4
@
m31271n
这个方法能影响整个系统吗?
luoyjx
Aug 23, 2016
1
5
https://www.npmjs.com/package/dotenv
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1018 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 35ms ·
UTC 19:08
·
PVG 03:08
·
LAX 11:08
·
JFK 14:08
♥ Do have faith in what you're doing.
❯