metacall
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published
M E T A C A L L

M E T A C A L L

A library for providing inter-language foreign function interface calls

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 | sh

Example

sum.py

def sum(a, b):
  return a + b

main.js

const { sum } = require('./sum.py'); // Import Python script

sum(3, 4); // 7
metacall main.js

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i metacall

    Homepage

    metacall.io

    Weekly Downloads

    1

    Version

    0.5.1

    License

    Apache-2.0

    Unpacked Size

    25.9 kB

    Total Files

    4

    Last publish

    Collaborators

    • viferga