0x001
V2EX  ›  Node.js

node app.js

  •  
  •   0x001 · Jul 1, 2014 · 5455 views
    This topic created in 4510 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   ·   4951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 01:23 · PVG 09:23 · LAX 17:23 · JFK 20:23
    ♥ Do have faith in what you're doing.