igorklopov/enclose

Add process.versions["enclose"]

Closed this issue · 1 comments

A small feature request to add enclose version number to Node's process.versions object (as done in electron and other similar projects).

console.log(process.versions["enclose"])
// 1.1.0

This will also allow code to easily identify if it is running inside a compiled enclose binary or not.

Thanks for adding this feature! Closing.