A library that add to python some js functions.
Project description
JsToPy
A library that add to python some js functions.
Installation
pip3 install JsToPy
or pip3 install --user JsToPy
Why JsToPy?
JsToPy makes JavaScript code using in Python.
JS code:
var this = require("a-lib");
var nums = [];
nums.length = 10;
nums.fill("Foobar");
console.log(nums);
Using JsToPy:
import JsToPy
this = require("a-lib");
nums = [];
nums.number = 10;
nums.fill("js in python");
console.log(nums);
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
JsToPy-0.1.5.tar.gz
(2.2 kB
view hashes)