source-map
npmv0.8.0TypeScriptGenerates and consumes source maps
Safe to adopt
Yes — source-map scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 52 days ago. 3 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 52 days ago. 3 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 181 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 25 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
BSD-3-Clause — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding source-map to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >= 12
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the source-map README.
<script src="https://unpkg.com/source-map@0.7.3/dist/source-map.js"></script>
<script>
sourceMap.SourceMapConsumer.initialize({
"lib/mappings.wasm": "https://unpkg.com/source-map@0.7.3/lib/mappings.wasm",
});
</script>Dependencies
Declared by source-map v0.8.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (5)
Used by
Popular packages that depend on source-map.
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Modify a JS/TS file and write back magically just like JSON!
Cybernetically enhanced web apps
Leaner CSS
Robust, expressive, and feature-rich CSS superset
convert from v8 coverage format to istanbul's format
Transpile JSX, TypeScript and esnext features on the fly with esbuild
Fixes stack traces for files with source maps
Fixes stack traces for files with source maps
🚇 Source map generator for Metro.
🚇 A tool to find the source location from JS bundles and stack traces.
🚇 The JavaScript bundler for React Native.
ECMAScript code generator
A tokenzier for Sass' SCSS syntax
Remap sequential sourcemaps through transformations to point at the original source code
Full CSS support for JSX without compromises
Relationship graph
Dependencies (left) and dependents (right) of source-map.
Frequently installed together
TypeScript definitions for node
the most correct and second fastest glob implementation in JavaScript
Trace the original position through a source map
An extremely fast JavaScript and CSS bundler and minifier.
An AST-based pattern checker for JavaScript.
Plugin utilities for Rolldown
Next generation testing framework powered by Vite
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Simple yet powerful framework for building command-line apps.
The modular and type safe schema library for validating structural data
Universal filesystem path utils
when you want to fire an event no matter how a process exits.
Release history
3 releases in the last two years, typically about 37 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.8.0latest | 1 month ago | 181 KB | BSD-3-Clause |
| 0.7.6 | 1 year ago | 181 KB | BSD-3-Clause |
| 0.7.5 | 1 year ago | 181 KB | BSD-3-Clause |
| 0.7.4 | 4 years ago | 221 KB | BSD-3-Clause |
| 0.8.0-beta.0 | 7 years ago | 192 KB | BSD-3-Clause |
| 0.7.3 | 8 years ago | 304 KB | BSD-3-Clause |
| 0.7.2 | 8 years ago | 309 KB | BSD-3-Clause |
| 0.7.1 | 8 years ago | 289 KB | BSD-3-Clause |
| 0.7.0 | 8 years ago | — | BSD-3-Clause |
| 0.6.1 | 9 years ago | — | BSD-3-Clause |
| 0.6.0 | 9 years ago | — | BSD-3-Clause |
| 0.5.7 | 9 years ago | — | BSD-3-Clause |
| 0.5.6 | 10 years ago | — | BSD-3-Clause |
| 0.5.5 | 10 years ago | — | BSD-3-Clause |
| 0.5.4 | 10 years ago | — | BSD-3-Clause |
Overview
source-map is an npm package that generates and consumes source maps. It has 16 known dependents in the graph. The latest version is 0.8.0, released under the BSD-3-Clause license.
Who should use it
Teams working in the npm ecosystem who need generates and consumes source maps and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (BSD-3-Clause).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use source-map?
Yes — source-map scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 52 days ago. 3 releases in the last 2 years.
How do I install source-map?
Run `npm install source-map` to add source-map to your npm project.
What license is source-map released under?
source-map is distributed under the BSD-3-Clause license.
How popular is source-map?
npm does not publish download counts. Within PackageGraph's crawl, 16 known packages depend on source-map.
Is source-map still maintained?
The most recent release of source-map (v0.8.0) was published 1 month ago.
Does source-map run install scripts?
No. source-map does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.