reasonml-old / bs-node

Node bindings for BuckleScript
78 stars 17 forks source link

Missing node.process.env binding #12

Closed alexeyknyshev closed 6 years ago

alexeyknyshev commented 6 years ago

Among other missing bindings it would be nice to have one for process.env https://nodejs.org/api/process.html#process_process_env

ncthbrt commented 6 years ago

@alexeyknyshev That is already present: https://bucklescript.github.io/bucklescript/api/Node_process.html

You can access env by using Node.Process.process##env as far as I remember.

alexeyknyshev commented 6 years ago

Sorry for bothering. Closing.

danielo515 commented 6 years ago

Well, then make it a bit more clear. I read that page like 3 to 4 times and I was unable to deduct such thing