open-index/open-npm huggingface dataset:
npm package: @gulp-plugin/eol
Description: Gulp plugin to ensure consistent end of line characters.
Author: dhkatz
Latest version: 1.1.0

# @gulp-plugin/eol ![npm (custom registry)](https://img.shields.io/npm/v/@gulp-plugin/eol?logo=npm) [![GitHub Package Registry version](https://img.shields.io/github/release/gulp-plugin/eol.svg?label=gpr&logo=github)](https://github.com/gulp-plugin/eol/packages/)


[![Build](https://github.com/gulp-plugin/eol/actions/workflows/node.js.yml/badge.svg)](https://github.com/gulp-plugin/eol/actions/workflows/node.js.yml)
[![Coverage Status](https://coveralls.io/repos/github/gulp-plugin/eol/badge.svg?branch=main)](https://coveralls.io/github/gulp-plugin/eol?branch=main) [![dependencies Status](https://david-dm.org/gulp-plugin/eol/status.svg)](https://david-dm.org/gulp-plugin/eol)

Gulp plugin to ensure consistent end of line characters.

## Install

`npm install --save-dev @gulp-plugin/eol`

## Usage

```typescript

const typescript = require('gulp-typescript')
const sourcemaps = require('gulp-sourcemaps')
const eol = require('gulp-plugin/eol')

const project = typescript.createProject('tsconfig.json')


function build() {
  src('./src/**/*.ts')
    .pipe(eol({ eol: '\n' }))
    .pipe(sourcemaps.init())
    .pipe(project())

  return compiled.js
    .pipe(sourcemaps.write({ sourceRoot: file => path.relative(path.join(file.cwd, file.path), file.base) }))
    .pipe(dest('build/'))
}

```
npm package: @gulp-plugin/pandoc
Description: Pandoc plugin for Gulp.
Author: dhkatz
Latest version: 1.0.1

# @gulp-plugin/pandoc ![npm (custom registry)](https://img.shields.io/npm/v/@gulp-plugin/pandoc?logo=npm) [![GitHub Package Registry version](https://img.shields.io/github/release/gulp-plugin/pandoc.svg?label=gpr&logo=github)](https://github.com/gulp-plugin/pandoc/packages/)

[![Build](https://github.com/gulp-plugin/pandoc/actions/workflows/node.js.yml/badge.svg)](https://github.com/gulp-plugin/pandoc/actions/workflows/node.js.yml)  [![Coverage Status](https://coveralls.io/repos/github/gulp-plugin/pandoc/badge.svg?branch=master)](https://coveralls.io/github/gulp-plugin/pandoc?branch=master) [![dependencies Status](https://david-dm.org/gulp-plugin/pandoc/status.svg)](https://david-dm.org/gulp-plugin/pandoc)

A JavaScript/TypeScript Pandoc plugin for [Gulp](https://github.com/gulpjs/gulp)

## Installation

```shell
npm install --save-dev @gulp-plugin/pandoc
```

## Usage

Then, add it to your `gulpfile.js`:

```typescript
const collect = require('@gulp-plugin/pandoc');

gulp.src('docs/**/*.md')
	.pipe(pandoc({ from: 'markdown', to: 'html', ext: '.html' }))
	.pipe(gulp.dest('docs/'));
```

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details
npm package: @gulp-sourcemaps/identity-map
Description: Gulp plugin for generating an identity sourcemap for a file.
Author: Gulp-sourcemaps Team
Latest version: 2.0.1

# @gulp-sourcemaps/identity-map

[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url]

Gulp plugin for generating an identity sourcemap for a file.

## Example

```js
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

[downloads-image]: http://img.shields.io/npm/dm/@gulp-sourcemaps/identity-map.svg
[npm-url]: https://npmjs.org/package/@gulp-sourcemaps/identity-map
[npm-image]: http://img.shields.io/npm/v/@gulp-sourcemaps/identity-map.svg

[travis-url]: https://travis-ci.org/gulp-sourcemaps/identity-map
[travis-image]: http://img.shields.io/travis/gulp-sourcemaps/identity-map.svg?label=travis-ci

[appveyor-url]: https://ci.appveyor.com/project/phated/identity-map
[appveyor-image]: https://img.shields.io/appveyor/ci/phated/identity-map.svg?label=appveyor

[coveralls-url]: https://coveralls.io/r/gulp-sourcemaps/identity-map
[coveralls-image]: http://img.shields.io/coveralls/gulp-sourcemaps/identity-map.svg
npm package: @gulp-sourcemaps/map-file
Description: Gulp plugin for changing the file property of a sourcemap.
Author: Gulp-sourcemaps Team
Latest version: 1.0.0

# @gulp-sourcemaps/map-file

[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url]

Gulp plugin for changing the file property of a sourcemap.

## Example

```js
var mapFile = require('@gulp-sourcemaps/map-file');

gulp.src(...)
  .pipe(sourcemaps.init())
  .pipe(sourcemaps.write())
  .pipe(mapFile(function(filePath, file) {
    return '../' + filePath;
  }))
  .pipe(gulp.dest(...))
```

## API

### `mapFile(mapFn)`

Takes a map function as the only argument. Returns an `objectMode` Transform stream.

#### `mapFn(filePath, file)`

The map function is called once per each [`Vinyl`][vinyl-url] object passed through the stream that contains a sourcemap.  The map function is called with the `filePath` string from the `file` property of the sourcemap and the `file` object it originated from.  The return value replaces the original value.

If a `Vinyl` object doesn't have a `sourceMap` property, the file is passed through the stream without having the `mapFn` called. If the `sourceMap.file` property doesn't exist, `filePath` will be undefined.

All `file` properties are normalized to use `/` instead of `\\` as path separators.

## License

MIT

[vinyl-url]: https://github.com/gulpjs/vinyl

[downloads-image]: http://img.shields.io/npm/dm/@gulp-sourcemaps/map-file.svg
[npm-url]: https://npmjs.org/package/@gulp-sourcemaps/map-file
[npm-image]: http://img.shields.io/npm/v/@gulp-sourcemaps/map-file.svg

[travis-url]: https://travis-ci.org/gulp-sourcemaps/map-file
[travis-image]: http://img.shields.io/travis/gulp-sourcemaps/map-file.svg?label=travis-ci

[appveyor-url]: https://ci.appveyor.com/project/phated/map-file
[appveyor-image]: https://img.shields.io/appveyor/ci/phated/map-file.svg?label=appveyor

[coveralls-url]: https://coveralls.io/r/gulp-sourcemaps/map-file
[coveralls-image]: http://img.shields.io/coveralls/gulp-sourcemaps/map-file.svg
npm package: @gulp-sourcemaps/map-sources
Description: Gulp plugin for mapping sources of a sourcemap.
Author: Gulp-sourcemaps Team
Latest version: 1.0.0

# @gulp-sourcemaps/map-sources

[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url]

Gulp plugin for mapping sources of a sourcemap.

## Example

```js
var mapSources = require('@gulp-sourcemaps/map-sources');

gulp.src(...)
  .pipe(sourcemaps.init())
  .pipe(mapSources(function(sourcePath, file) {
    return '../' + sourcePath;
  }))
  .pipe(sourcemaps.write())
  .pipe(gulp.dest(...))
```

## API

### `mapSources(mapFn)`

Takes a map function as the only argument. Returns an `objectMode` Transform stream.

#### `mapFn(sourcePath, file)`

The map function is called once per value of the `sources` array of a `sourceMap` attached to each [`Vinyl`][vinyl-url] object passed through the stream.  The map function is called with the `sourcePath` string from the `sources` array and the `file` object it originated from.  The return value replaces the original value in the array.

If a `Vinyl` object doesn't have a `sourceMap` or `sourceMap.sources` property, the file is passed through the stream without having the `mapFn` called.

All `sources` are normalized to use `/` instead of `\\` as path separators.

## License

MIT

[vinyl-url]: https://github.com/gulpjs/vinyl

[downloads-image]: http://img.shields.io/npm/dm/@gulp-sourcemaps/map-sources.svg
[npm-url]: https://npmjs.org/package/@gulp-sourcemaps/map-sources
[npm-image]: http://img.shields.io/npm/v/@gulp-sourcemaps/map-sources.svg

[travis-url]: https://travis-ci.org/gulp-sourcemaps/map-sources
[travis-image]: http://img.shields.io/travis/gulp-sourcemaps/map-sources.svg?label=travis-ci

[appveyor-url]: https://ci.appveyor.com/project/phated/map-sources
[appveyor-image]: https://img.shields.io/appveyor/ci/phated/map-sources.svg?label=appveyor

[coveralls-url]: https://coveralls.io/r/gulp-sourcemaps/map-sources
[coveralls-image]: http://img.shields.io/coveralls/gulp-sourcemaps/map-sources.svg
npm package: @gulp-utils/gulp-core-build-api-extractor
Description: Gulp Core Build API Extractor
Author: Thomas Clark
Latest version: 1.0.0

# @gulp-utils/gulp-core-build-api-extractor

`gulp-core-build-api-extractor` is a `gulp-core-build` subtask which introduces the ability to generate documentation, using api-extractor.

[![npm version](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-api-extractor.svg)](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-api-extractor)
[![Dependencies](https://david-dm.org/tnc1997/gulp-utils%3Fpath%3Dlibraries%2Fgulp-core-build-api-extractor.svg)](https://david-dm.org/tnc1997/gulp-utils?path=libraries/gulp-core-build-api-extractor)

# Tasks

## ApiExtractorTask

### Description
This task invokes api-extractor on a package, using a consumer-specified `api-extractor.json`.

### Usage
```javascript
const {apiExtractor} = require("@gulp-utils/gulp-core-build-api-extractor");
const {tsc} = require("@gulp-utils/gulp-core-build-tsc");
const {initialize, serial, task} = require("@microsoft/gulp-core-build");

apiExtractor.setConfig({
  configPath: "./config/api-extractor.json"
});

task("default", serial(tsc, apiExtractor));

initialize(require("gulp"));
```

### Config
```typescript
interface IApiExtractorTaskConfig {
  config?: ExtractorConfig;
  configPath?: string;
  options?: IExtractorInvokeOptions;
}
```
npm package: @gulp-utils/gulp-core-build-jest
Description: Gulp Core Build Jest
Author: Thomas Clark
Latest version: 1.0.2

# @gulp-utils/gulp-core-build-jest

`gulp-core-build-jest` is a `gulp-core-build` subtask which introduces the ability to test packages, using jest.

[![npm version](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-jest.svg)](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-jest)
[![Dependencies](https://david-dm.org/tnc1997/gulp-utils%3Fpath%3Dlibraries%2Fgulp-core-build-jest.svg)](https://david-dm.org/tnc1997/gulp-utils?path=libraries/gulp-core-build-jest)

# Tasks

## JestTask

### Description
This task invokes jest using a consumer-specified `jest.config.js` on a package.

### Usage
```javascript
const {jest} = require("@gulp-utils/gulp-core-build-jest");
const {initialize, parallel, serial, task} = require("@microsoft/gulp-core-build");
const {tscCmd, tslintCmd} = require("@microsoft/gulp-core-build-typescript");

jest.setConfig({
  configPath: "./jest.config.js"
});

task("default", serial(parallel(tscCmd, tslintCmd), jest));

initialize(require("gulp"));
```

### Config
```typescript
interface IJestTaskConfig {
    configPath?: string;
    config?: Config.Argv;
}
```
npm package: @gulp-utils/gulp-core-build-ncc
Description: Gulp Core Build ncc
Author: Thomas Clark
Latest version: 1.0.0

# @gulp-utils/gulp-core-build-ncc

`gulp-core-build-ncc` is a `gulp-core-build` subtask which introduces the ability to compile a Node.js module into a single file together with all its dependencies, using ncc.

[![npm version](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-ncc.svg)](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-ncc)
[![Dependencies](https://david-dm.org/tnc1997/gulp-utils%3Fpath%3Dlibraries%2Fgulp-core-build-ncc.svg)](https://david-dm.org/tnc1997/gulp-utils?path=libraries/gulp-core-build-ncc)

# Tasks

## NccTask

### Description
This task invokes ncc on a package.

### Usage
```javascript
const {ncc} = require("@gulp-utils/gulp-core-build-ncc");
const {initialize, parallel, task} = require("@microsoft/gulp-core-build");
const {tslintCmd} = require("@microsoft/gulp-core-build-typescript");

ncc.setConfig({
  config: {
    sourceMap: true
  }
});

task("default", parallel(ncc, tslintCmd));

initialize(require("gulp"));
```

### Config
```typescript
interface INccOptions {
  cache?: string | boolean;
  externals?: string[];
  filterAssetBase?: string;
  minify?: boolean;
  sourceMap?: boolean;
  sourceMapBasePrefix?: string;
  sourceMapRegister?: boolean;
  v8cache?: boolean;
}

interface INccTaskConfig {
  config?: INccOptions;
  inputFile?: string;
  outputFile?: string;
}
```
npm package: @gulp-utils/gulp-core-build-rollup
Description: Gulp Core Build Rollup
Author: Thomas Clark
Latest version: 1.0.0

# @gulp-utils/gulp-core-build-rollup

`gulp-core-build-rollup` is a `gulp-core-build` subtask which introduces the ability to bundle various source files into a set of bundles, using rollup.

[![npm version](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-rollup.svg)](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-rollup)
[![Dependencies](https://david-dm.org/tnc1997/gulp-utils%3Fpath%3Dlibraries%2Fgulp-core-build-rollup.svg)](https://david-dm.org/tnc1997/gulp-utils%3Fpath%3Dlibraries%2Fgulp-core-build-rollup)

# Tasks

## RollupTask

### Description
This task invokes rollup using a consumer-specified `rollup.config.js` on a package.

### Command Line Options
If the `--initrollup` flag is passed to the command line, this task will initialize a `rollup.config.js` which bundles `lib/index.js` into `dist/{packagename}.js` as a UMD module.

### Usage
```javascript
const {rollup} = require("@gulp-utils/gulp-core-build-rollup");
const {initialize, parallel, serial, task} = require("@microsoft/gulp-core-build");
const {tscCmd, tslintCmd} = require("@microsoft/gulp-core-build-typescript");

rollup.setConfig({
  configPath: "./rollup.config.js"
});

task("default", serial(parallel(tscCmd, tslintCmd), rollup));

initialize(require("gulp"));
```

### Config
```typescript
interface IRollupConfig {
    configPath?: string;
    config?: RollupOptions | RollupOptions[];
    suppressWarnings?: (string | RegExp)[];
    rollup?: typeof Rollup;
    printStats?: boolean;
}
```
npm package: @gulp-utils/gulp-core-build-tsc
Description: Gulp Core Build TSC
Author: Thomas Clark
Latest version: 1.0.0

# @gulp-utils/gulp-core-build-tsc

`gulp-core-build-tsc` is a `gulp-core-build` subtask which introduces the ability to compile a Node.js module, using tsc.

[![npm version](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-tsc.svg)](https://badge.fury.io/js/%40gulp-utils%2Fgulp-core-build-tsc)
[![Dependencies](https://david-dm.org/tnc1997/gulp-utils%3Fpath%3Dlibraries%2Fgulp-core-build-tsc.svg)](https://david-dm.org/tnc1997/gulp-utils?path=libraries/gulp-core-build-tsc)

# Tasks

## TscTask

### Description
This task invokes tsc on a package using a consumer-specified `tsconfig.json` on a package.

### Usage
```javascript
const {tsc} = require("@gulp-utils/gulp-core-build-tsc");
const {initialize, task} = require("@microsoft/gulp-core-build");

tsc.setConfig({
  configPath: "./tsconfig.json"
});

task("default", tsc);

initialize(require("gulp"));
```

### Config
```typescript
interface ITscTaskConfig {
  config?: CompilerOptions;
  configPath?: string;
}
```