zachleat

zachleat/node-retrieve-globals

Execute a string of JavaScript using Node.js and return the global variable values and functions.

JavaScript
12
1
MIT License

`node-retrieve-globals` is a Node.js library that executes JavaScript code strings and returns the resulting global variables and functions. It's designed for developers who need to safely evaluate JavaScript code in isolated contexts, such as in static site generators or template engines, and retrieve the resulting data.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of zachleat/node-retrieve-globals

Account's avatar
ECMAScript parser
Account's avatar
ECMAScript (ESTree) AST walker
Account's avatar
Perform transformations on ESM import syntax (using import maps or to a dynamic import).
Account's avatar
A minimal module to test importing in other tools.
Account's avatar
Node.js test runner that lets you develop with confidence.
Account's avatar
Run scripts that set and use environment variables across platforms

Support the repos that depend on this repository

Top contributors

zachleat's profile
zachleat
60 contributions
rdela's profile
rdela
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet