Preparing for system design interviews?  Try bugzed.com →

Source Map Fetcher

JSON →
library 2.0.12 ·javascript
verified Jun 17, 2026

`get-source` is a JavaScript utility designed to fetch and resolve source-mapped source files in both Node.js and browser environments. Currently stable at version 2.0.12, it provides both synchronous and asynchronous APIs to read file contents and traverse sourcemap chains. Its core differentiating features include comprehensive sourcemap support—handling external, embedded, inline links, and long chains—and a built-in cache for performance. It's particularly useful for enhancing call stacks, advanced logging, and creating error display components in front-end development, as demonstrated by its use in libraries like `StackTracey` and `ololog`. The library ships with TypeScript types, making it suitable for modern JavaScript and TypeScript projects. While the synchronous API is designed not to throw errors, the asynchronous API utilizes standard Promise-based error handling.

total hits 19
actors 5 distinct systems
last hit 19d ago AhrefsBot
ByteDance
5
GPTBot
4
Script
1
Search engines
1
Humans
4

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · TH