Socket
Socket
Sign inDemoInstall

@gulp-sourcemaps/identity-map

Package Overview
Dependencies
11
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @gulp-sourcemaps/identity-map

Gulp plugin for generating an identity sourcemap for a file.


Version published
Weekly downloads
345K
decreased by-4.99%
Maintainers
3
Install size
2.79 MB
Created
Weekly downloads
 

Readme

Source

@gulp-sourcemaps/identity-map

NPM version Downloads Build Status AppVeyor Build Status Coveralls Status

Gulp plugin for generating an identity sourcemap for a file.

Example

var identityMap = require('@gulp-sourcemaps/identity-map');

gulp.src(...)
  .pipe(sourcemaps.init())
  .pipe(identityMap()) // .js and .css files will get a generated sourcemap
  .pipe(sourcemaps.write())
  .pipe(gulp.dest(...))

API

identityMap()

Returns an objectMode Transform stream that processes each file with a .sourceMap property and buffered contents. A sourcemap is generated and attached for each .js and .css file.

License

MIT

Keywords

FAQs

Last updated on 09 Mar 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc