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