Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anastasiaschmidt1/sourcemap-extractor
A tool to extract sourcemap files and restore original source code files.
https://github.com/anastasiaschmidt1/sourcemap-extractor
Last synced: 4 days ago
JSON representation
A tool to extract sourcemap files and restore original source code files.
- Host: GitHub
- URL: https://github.com/anastasiaschmidt1/sourcemap-extractor
- Owner: anastasiaschmidt1
- Created: 2024-04-25T11:31:33.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-25T11:31:34.000Z (9 months ago)
- Last Synced: 2024-04-25T13:44:40.961Z (9 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sourcemap-Extractor
A simple tool for extracting source code files from a JavaScript source map file and organizing them in the directory structure.
It uses modules "source-map" https://www.npmjs.com/package/source-map to parse source map files and "mkdirp" https://www.npmjs.com/package/mkdirp to create the necessary directory structures.
## Getting started
Make sure you have Node.js installed on your system.
Install the necessary dependencies by running the following command in the project directory:
```bash
npm install
```
Place your main.js and its corresponding source map file in the project directory.Run the extraction script by using the following command:
```bash
npm start
```