This package lets you use Javascript like objects in python.
Project description
Javascript.py
This package lets you use javascript like objects in python.
Installation
Stable version:
pip install javascript.py
Working version:
pip install git+https://github.com/CodeWithSwastik/javascript-py
Example Usage
from javascript import console, Array
array = Array([1,2,3])
console.log(array.find(lambda x: x > 2))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
javascript.py-1.0.3.tar.gz
(1.6 kB
view hashes)