2 ms·
The CLI runtime that 99% of people use is Node.js, available via the same package manager where you'd get Python 3. Its dependency management story is not grea
by pavlov 4y ago
The CLI runtime that 99% of people use is Node.js, available via the same package manager where you'd get Python 3.
Its dependency management story is not great, but in general better than the horrible mess on the Python side.
On macOS there's a system runtime called JavaScriptCore.framework. It's actually a very good and useful engine. If you're writing native code, you could link to that. But of course it doesn't provide any of the Node.js API, just the JS standard library which is tiny. So the most typical use case would be to embed a JS API into your application.