# gulp-ws-contents

> Plugin to create the file contents.js for testing modules WS framework

Latest version **0.0.6** (published 2016-08-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-ws-contents
pnpm add gulp-ws-contents
yarn add gulp-ws-contents
bun add gulp-ws-contents
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2016-08-22 |
| First published | 2015-09-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pavel Koltyshev |
| Maintainers | pkolt |
| Keywords | gulpplugin, ws |

## Links

- npm: https://www.npmjs.com/package/gulp-ws-contents
- Repository: https://github.com/pkolt/gulp-ws-contents
- Homepage: https://github.com/pkolt/gulp-ws-contents#readme
- Issues: https://github.com/pkolt/gulp-ws-contents/issues
- npm.io page: https://npm.io/package/gulp-ws-contents

## Dependencies (2)

- [through2](https://npm.io/package/through2.md) ^0.6.5
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.4

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.6 (latest) — 2016-08-22
- 0.0.5 — 2016-01-15
- 0.0.4 — 2015-10-23
- 0.0.3 — 2015-10-17
- 0.0.2 — 2015-09-28
- 0.0.1 — 2015-09-28

## README

# gulp-ws-contents

Plugin to create the file contents.js for testing modules [WS framework](http://wi.sbis.ru/).

## API

### wsContents(prepare, filename)

#### prepare

Type: `Function`  
Default: `null`  
Example: prepare(path)  

#### filename

Type: `String`  
Default: `'contents.js'`  

Contents filename.


## Usage

```javascript
var gulp = require('gulp');
var wsContents = require('gulp-ws-contents');


gulp.task('default', function() {
    return gulp.src('./proj/controls/**/*.module.js')
        .pipe(wsContents(function(path) {
            // Here you can change the path.
            return path;
        }))
        .pipe(gulp.dest('./dist'));
});
```

---
_Source: https://npm.io/package/gulp-ws-contents · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
