Package Exports
- iobroker.javascript
- iobroker.javascript/main.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (iobroker.javascript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme

Javascript Script Engine
This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
Executes Javascript, Typescript Scripts.
Documentation
- 🇺🇸 Function documentation
- 🇺🇸 Upgrade guide
- 🇩🇪 Benutzung
- Blockly
Changelog
8.7.4 (2024-07-27)
- (foxriver76) added fallback to require the adapters
requestmodule if no own installed
8.7.3 (2024-07-25)
- (@klein0r) Fixed script deletion (icon was missing)
- (@klein0r) Fixed some translations and Blockly definitions
8.7.2 (2024-07-23)
- (foxriver76) fixed subpath imports with controller v6 (needs js-controller v6.0.9)
8.7.1 (2024-07-22)
- (foxriver76) load correct typings for TypeScript scripts with js-controller v6 (needs js-controller v6.0.9)
8.7.0 (2024-07-18)
- (klein0r) Escape all field inputs correctly when using single quotes
- (klein0r) Added sandbox function to subscribe to all enum members
- (klein0r) Added Blockly block to subscribe to all enum members
- (klein0r) Added sandbox functions to start/restart/stop an instance
- (klein0r) Added Blockly block to start/restart/stop an instance
- (klein0r) Added Blockly block to start/stop a script
- (klein0r) Added Blockly result blocks for script messages
- (klein0r) Fixed onLog / onLogUnregister return types
- (foxriver76) fixed issue in importing additional node modules for packages which do not provide a default export (e.g.
mathjs) - (bluefox) Removed
withStylesfrom GUI
License
The MIT License (MIT)
Copyright (c) 2014-2024 bluefox dogafox@gmail.com,
Copyright (c) 2014 hobbyquaker
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.