Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page