# gulp-ftp-env

> gulp pulgin for changing environment

Latest version **0.1.1** (published 2015-01-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-ftp-env
pnpm add gulp-ftp-env
yarn add gulp-ftp-env
bun add gulp-ftp-env
```

## 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.1.1 |
| Published | 2015-01-14 |
| First published | 2015-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Vi |
| Maintainers | viwayne |
| Keywords | ftp, env |

## Links

- npm: https://www.npmjs.com/package/gulp-ftp-env
- Repository: https://github.com/devWayne/gulp-ftp-env
- Issues: https://github.com/devWayne/gulp-ftp-env/issues
- npm.io page: https://npm.io/package/gulp-ftp-env

## Dependencies (5)

- [jsftp](https://npm.io/package/jsftp.md) ^1.2.1
- [clilog](https://npm.io/package/clilog.md) 1.0.0
- [through2](https://npm.io/package/through2.md) ^0.6.3
- [gulp-util](https://npm.io/package/gulp-util.md) ^2.2.0
- [jsftp-mkdirp](https://npm.io/package/jsftp-mkdirp.md) ^0.1.0

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 0.1.1 (latest) — 2015-01-14
- 0.1.0 — 2015-01-10

## README

gulp-ftp-env [![Build Status](https://travis-ci.org/devWayne/gulp-ftp-env.svg?branch=master)](https://travis-ci.org/devWayne/gulp-ftp-env)
============
> Gulp Plugin for environment changing and version management 

##Usage

First, install `gulp-ftp-env` as a development dependency:   

```shell
npm install --save-dev gulp-ftp-env
```
Then, add it to your `gulpfile.js`:   

```javascript
var ftpEnv = require('gulp-ftp-env');   

gulp.task('beta', function() {   
    return gulp.src(dirs.dist + '/**')   
      	  .pipe(ftpEnv({   
            "host": "xxx.xxx.xxx.xxx",   
            "port": "21",   
            "user": "",   
            "pass": "",   
            "remotePath": "foo/",   
	    "version":"none"   
        }));   	
});   

gulp.task('product', function() {   
    return gulp.src(dirs.dist + '/**')   
      	  .pipe(ftpEnv({   
            "host": "xxx.xxx.xxx.xx",   
            "port": "21",   
            "user": "",   
            "pass": "",   
            "remotePath": "foo/",   
	    "version":"{{v}}",   
	    "keywords":[{"before":"before-xxx","after":"after-xxx"}]   
        }));   
});   
```

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