Library for recovering files from Webpack sourcemaps (.js.map
).
npm i unpack-jsmap
const { unpack } = require('unpack-jsmap')
unpack('https://www.example.com/test.js').then(map => console.log(map))
url
- valid URL string or URL objectsettings
- (optional) settings object:scriptContent
- stringforceFetch
- boolean
url
- valid URL string or URL object