Skip to content

A module for running python in node and vice versa.

License

Notifications You must be signed in to change notification settings

zachyboy12/jsthon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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