Use Package JSON Scripts Extractor without a complicated workflow.
Extract npm scripts from package.json into a clean readable command list. This registration is prepared for a browser-side JavaScript UI, so no Python/API processing is required when the UI is implemented.