Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 526 Bytes

README.md

File metadata and controls

18 lines (18 loc) · 526 Bytes

jsthon

A module for running python in node and vice versa.

Try it (Javascript)

  • First, write this code:
    jsthon = require('path/to/jsthon')
  • Finally, write this code:
    jsthon.run_py('print("Javascript + Python = JSthon")')
    And run using node.

Try it (Python)

  • Import jsthon
  • Run this code:
    jsthon.runJs('console.log("Javascript + Python = JSthon")')

Requirements

  • Python
  • Node

Installation

  • git clone https://github.com/zachyboy12/jsthon.git
  • Get tar.gz file or .zip file