0x001
V2EX  ›  Node.js

node app.js

  •  
  •   0x001 · Jul 1, 2014 · 5507 views
    This topic created in 4534 days ago, the information mentioned may be changed or developed.
    这样运行app.js, 请问如何传参数进去?
    3 replies  •  2014-07-01 17:10:13 +08:00
    0x001
    0x001
    OP
    Jul 1, 2014
    1
    USER_ID='123' node app.js
    ine181x
    ine181x
    Jul 1, 2014
    2
    process.argv
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5221 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 02:16 · PVG 10:16 · LAX 18:16 · JFK 21:16
    ♥ Do have faith in what you're doing.