Skip to content

A Python library for parsing and executing JavaScript code within Python applications.

License

Notifications You must be signed in to change notification settings

ObedienceAdara/FromJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FromJS

A Python library for parsing and executing JavaScript code within Python applications.

Installation

pip install FromJS

Usage

from FromJS import import_js

# Import a JavaScript file
js_module = import_js('path/to/your/javascript/file.js')

# Use the imported JavaScript functionality
result = js_module.some_function()

Features

  • Parse JavaScript files and convert to Python objects
  • Support for JavaScript variables, functions, and classes
  • Handle ES6+ syntax including async/await
  • Export management

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Python library for parsing and executing JavaScript code within Python applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published