Source Map Fetcher

JSON →
library 2.0.12 ·javascript
verified May 27, 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 15
actors 7 distinct systems
last hit 4d ago Bingbot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany