Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.
/ magify.js Public archive

Magify is a tool that can show the original location of an error in an uglifyed javascript file, given its source map and errors location in uglifyed code

Notifications You must be signed in to change notification settings

minus5/magify.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Magify

Magify je alat koji ekstrahira pravu lokaciju greške na temelju dane source-mape uglify-anog javascript koda te linije i stupca u kojemu se greška dogodila u uglify-anom kodu.

Source mapa u ovom slučaju netreba biti deployana uz klijentsku aplikaciju da bi se otkrila greška.

Primjer korištenja

neka je dana source mapa app.js.map i neka je dana lokacija greške u minifyanom kodu 2:3047

izvršavanje: node magify.js app.js.map 2:3047

ukoliko je pronađen match producirati će slijedeći output: lokacija/originalne/fajle.js:linijagreske

ukoliko nije: ništa

About

Magify is a tool that can show the original location of an error in an uglifyed javascript file, given its source map and errors location in uglifyed code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published