Programmatically Execute User-Inputted JavaScript Code

preview_player
Показать описание

There are various ways to execute a string, as a JavaScript snippet, but they all come with their risks. js-exec NPM library lets you sandbox and execute the code, without any of those pitfalls.
js-exec is my first contribution to open-source. I'd appreciate your support and love, by starting it on GitHub and liking this video.
Thank you for watching :)))
Рекомендации по теме
Комментарии
Автор

How does it guarantee security? Can someone hack the sandbox?

Batu
welcome to shbcf.ru