UNPKG

javascript-code-runner

Version:

Run your JavaScript code snippets in the browser. A sandboxed JavaScript interpreter.

51 lines (38 loc) 1.09 kB
/* object-assign (c) Sindre Sorhus @license MIT */ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> * @license MIT */ /*! ../original-repo/interpreter */ /*! ./original-repo/acorn.js */ /*! exports provided: default */ /*! no static exports found */ /*! vm */ /*!*******************************!*\ !*** ./src/js-interpreter.js ***! \*******************************/ /*!********************************!*\ !*** ./original-repo/acorn.js ***! \********************************/ /*!**************************************!*\ !*** ./original-repo/interpreter.js ***! \**************************************/ /*!*********************************************!*\ !*** ./node_modules/vm-browserify/index.js ***! \*********************************************/ /** * @fileoverview JavaScript Code Runner * @author olgafesh@hotmail.com (Olga F. Andreiko) * @license MIT */ /** * @license * Copyright 2013 Google LLC * SPDX-License-Identifier: Apache-2.0 */