{"library":"javascript-playgrounds","type":"library","category":null,"description":"JavaScript Playgrounds is a library that provides an embeddable, interactive JavaScript sandbox environment, primarily designed for educational purposes and quick code experimentation. It allows users to execute JavaScript code directly within a web page, with support for various presets like React and React Native. The package, currently at version 1.2.8, does not specify a strict release cadence but appears to be actively maintained, being used in several 'Express' educational guides. Its key differentiators include easy integration as either a React component or a direct iframe, and the ability to pre-configure the sandbox with specific code and presets, making it highly versatile for showcasing or teaching JavaScript concepts without requiring complex setup for the end-user. Configuration parameters are passed via the URL hash, supporting both JSON and URI encoding for complex setups.","language":"javascript","status":"active","version":"1.2.8","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install javascript-playgrounds","imports":["import Playground from 'javascript-playgrounds'","<Playground style={{ width: 800, height: 500 }} />","<iframe src=\"//unpkg.com/javascript-playgrounds@^1.0.0/public/index.html#data=\" width=\"880\" height=\"425\"></iframe>"]},{"cmd":"yarn add javascript-playgrounds","imports":[]},{"cmd":"pnpm add javascript-playgrounds","imports":[]}],"homepage":null,"github":"https://github.com/dabbott/javascript-playgrounds","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/javascript-playgrounds","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/javascript-playgrounds/compatibility"}}