{"library":"webpack-sources","type":"library","category":null,"description":"Provides base and concrete Source classes for representing source code with optional source maps, used primarily by webpack. Current stable version is 3.4.0, released in 2025-01-06. The package is actively maintained as part of webpack ecosystem. Key classes include RawSource, OriginalSource, SourceMapSource, ConcatSource, CachedSource, and PrefixSource. Differentiators: designed for webpack's compilation pipeline, supports efficient buffer operations (buffer/buffers), hash computation, and identity mappings for source maps. It ships TypeScript types and works with Node 10.13+.","language":"javascript","status":"active","version":"3.4.0","tags":["javascript","webpack","source-map","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-sources","imports":["import { RawSource } from 'webpack-sources'","import { OriginalSource } from 'webpack-sources'","import { SourceMapSource } from 'webpack-sources'","import { ConcatSource } from 'webpack-sources'","import { CachedSource } from 'webpack-sources'","import { PrefixSource } from 'webpack-sources'","import { ReplaceSource } from 'webpack-sources'"]},{"cmd":"yarn add webpack-sources","imports":[]},{"cmd":"pnpm add webpack-sources","imports":[]}],"homepage":null,"github":"https://github.com/webpack/webpack-sources","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-sources","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webpack-sources/compatibility"}}