metacall
v0.5.2
Published
Call Python, C#, Ruby... functions from NodeJS (a NodeJS Port for MetaCall)
Maintainers
Readme
Abstract
METACALL is a library that allows calling functions, methods or procedures between programming languages. With METACALL you can transparently execute code from / to any programming language, for example, call Python code from NodeJS.
Install
Install MetaCall binaries first (click here for installing it on other platforms):
curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | shExample
sum.py
def sum(a, b):
return a + bmain.js
const { sum } = require('./sum.py'); // Import Python script
sum(3, 4); // 7metacall main.js