source-map-js
npmv1.2.1TypeScriptGenerates and consumes source maps
Overview
source-map-js is an npm package that generates and consumes source maps. It is extremely widely used, with about 149.6M downloads per week and 2 known dependents in the graph. The latest version is 1.2.1, 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 battle-tested, widely-adopted 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
- Large, well-established user base (149.6M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (BSD-3-Clause).
- Lean dependency tree (3 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of source-map-js.
Dependencies
Dev (3)
Used by
Popular packages that depend on source-map-js.
Tool for transforming styles with JS plugins
Modify strings, generate sourcemaps
A utility-first CSS framework for rapidly building custom user interfaces.
@vue/compiler-core
@vue/compiler-sfc
Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol
A pure JavaScript implementation of Sass.
A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
Modify a JS/TS file and write back magically just like JSON!
Frequently installed together
TypeScript definitions for node
A JavaScript parser
An AST-based pattern checker for JavaScript.
Babel Types is a Lodash-esque utility library for AST nodes
Modify strings, generate sourcemaps
Traverse an ESTree-compliant AST
Next generation testing framework powered by Vite
internal utils shared across @vue packages
Immutable Data Collections
Tool for transforming styles with JS plugins
An extremely fast JavaScript and CSS bundler and minifier.
Encode/decode sourcemap mappings
Version history
| Version | Published | License |
|---|---|---|
| 1.2.1latest | 1 year ago | BSD-3-Clause |
| 1.2.0 | 2 years ago | BSD-3-Clause |
| 1.1.0 | 2 years ago | BSD-3-Clause |
| 1.0.3 | 2 years ago | BSD-3-Clause |
| 1.0.2 | 4 years ago | BSD-3-Clause |
| 1.0.1 | 4 years ago | BSD-3-Clause |
| 1.0.0 | 4 years ago | BSD-3-Clause |
| 0.6.2 | 5 years ago | BSD-3-Clause |
Maintainers
Frequently asked questions
How do I install source-map-js?
Run `npm install source-map-js` to add source-map-js to your npm project.
What license is source-map-js released under?
source-map-js is distributed under the BSD-3-Clause license.
How popular is source-map-js?
source-map-js has approximately 149,627,285 downloads per week and 2 known dependent packages.