# gulp-code-sine

> Gulp plugin to sine your code

Latest version **1.0.1** (published 2016-10-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-code-sine
pnpm add gulp-code-sine
yarn add gulp-code-sine
bun add gulp-code-sine
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-10-19 |
| First published | 2016-10-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Peter Gessler |
| Maintainers | gesslerpd |
| Keywords | gulpplugin, sine, sin, code |

## Links

- npm: https://www.npmjs.com/package/gulp-code-sine
- Repository: https://github.com/gesslerpd/gulp-code-sine
- Homepage: https://github.com/gesslerpd/gulp-code-sine#readme
- Issues: https://github.com/gesslerpd/gulp-code-sine/issues
- npm.io page: https://npm.io/package/gulp-code-sine

## Dependencies (2)

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

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-10-19
- 1.0.0 — 2016-10-15

## README

# gulp-code-sine

Gulp plugin to sine your code

See the [output](#output) section of this document for an example of plugin functionality.
 This plugin doesn't have a well defined purpose.
 I suppose it could be used as an easter egg for project production files.

## Contents

- [Install](#install)
- [Usage](#usage)
- [Output](#output)
- [Author](#author)
- [License](#license)

## Install

```bash
npm i --save-dev gulp-code-sine
```

## Usage

```javascript
var gulp = require('gulp');
var gulpCodeSine = require('gulp-code-sine');

gulp.task('default', function () {
    return gulp.src('src/**/*.html')
        .pipe(gulpCodeSine())
        .pipe(gulp.dest('dist'));
});
```

using with options

```javascript
gulp.task('default', function () {
    return gulp.src('src/**/*.html')
        .pipe(gulpCodeSine({
            amplitude: 5,
            period: 10
        }))
        .pipe(gulp.dest('dist'));
});
```

## Output

Before

```html
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
	<p>Hello World</p>
</body>
</html>
```

After

```html
<!DOCTYPE html>
 <html lang="en">
   <head>
      <meta charset="UTF-8">
          <title>Document</title>
              </head>
                 <body>
                   <p>Hello World</p>
                    <p>Hello World</p>
                   <p>Hello World</p>
                 <p>Hello World</p>
              <p>Hello World</p>
          <p>Hello World</p>
      <p>Hello World</p>
   <p>Hello World</p>
 <p>Hello World</p>
<p>Hello World</p>
 <p>Hello World</p>
   <p>Hello World</p>
      <p>Hello World</p>
          <p>Hello World</p>
              <p>Hello World</p>
                 <p>Hello World</p>
                   <p>Hello World</p>
                    <p>Hello World</p>
                   <p>Hello World</p>
                 <p>Hello World</p>
              </body>
          </html>
```

## Author

**Peter Gessler**
- <https://github.com/gesslerpd>

## License

Open sourced under the [MIT license](LICENSE.md).

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