How to use this developer tool
- Paste package.json content or load a text file.
- Choose any option shown above the run button.
- Select Extract Scripts or press Ctrl/Cmd + Enter.
- Review the notes, then copy or download the result.
Extract npm script names and commands from package.json into a readable command list. The result shows the exact npm run invocation, flags pre/post lifecycle hooks, and exports a table for review or documentation. Script text is never executed. Invalid JSON, a missing scripts object, or non-string commands are reported instead of being silently coerced.
The output is generated directly from the supplied package.json content. Summary values make malformed or unchanged items visible instead of hiding them.
Keep the original source until the result has been reviewed against the system or package manager that will consume it.
Load the sample and run the tool. The output shows the parsed or transformed values along with a count and a practical interpretation.
{"name":"demo-app","scripts":{"dev":"vite","build":"vite build","test":"node --test","lint":"eslint ."}}Processing is deterministic and runs in browser memory. The implementation uses native JSON, date, text encoding, and integer APIs where applicable to package json script extractor.
No registry, database, signature service, package installer, or remote clock is queried. Results describe the supplied text only.
No. Its core processing runs locally in your browser and makes no network request.
The page stops processing and shows a specific validation message so the source data is not silently changed.
Yes, when the input label calls for one value per line. JSON manifest tools process one document at a time.
The download matches the visible output. Review it in the context of your project before replacing a source file.
The browser performs a focused static transformation. It cannot confirm external database records, registry state, signatures, or runtime behavior.
| Field | Meaning |
|---|---|
| Output | Copy-ready processed text |
| Summary | Counts and processing state |
| Interpretation | Limits and next review step |
Browse more tools for this workflow in the category hub.
View Package & Dependency Tools