# gulp-filter-java-properties

> Gulp wrapper for the filter-java-properties Node pacakge

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

## Install

```sh
npm install gulp-filter-java-properties
pnpm add gulp-filter-java-properties
yarn add gulp-filter-java-properties
bun add gulp-filter-java-properties
```

## 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-04 |
| First published | 2014-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sam Olsen |
| Maintainers | samolsen |
| Keywords | gulpplugin, filter, resources, properties |

## Links

- npm: https://www.npmjs.com/package/gulp-filter-java-properties
- Repository: https://github.com/samolsen/gulp-filter-java-properties
- Issues: https://github.com/samolsen/gulp-filter-java-properties/issues
- npm.io page: https://npm.io/package/gulp-filter-java-properties

## Dependencies (3)

- [through2](https://npm.io/package/through2.md) ~0.6.3
- [gulp-util](https://npm.io/package/gulp-util.md) ~3.0.1
- [filter-java-properties](https://npm.io/package/filter-java-properties.md) ^0.3.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2015-01-04
- 0.1.0 — 2014-12-29

## README

# gulp-filter-java-properties
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]

> [gulp](https://github.com/wearefractal/gulp) wrapper for the [filter-java-properties](https://github.com/samolsen/node-filter-java-properties) Node package. Performs key-value string replacement, similar to the Maven Resources plugin.

## Usage

First, install `gulp-filter-java-properties` as a development dependency:

```shell
npm install --save-dev gulp-filter-java-properties
```

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

```javascript
var filterProperties = require("gulp-filter-java-properties");

gulp.src("./src/*.ext")
	.pipe(filterProperties({
      propertiesPath: "configure.properties",
      delimiters: ["${*}", "@"] // optional, defaults shown
	}))
	.pipe(gulp.dest("./dist"));
```

## API

### filter-java-properties(options)

#### options.propertiesPath
Type: `String`  
*Required*

Path to a **.properties** file. Path should be absolute, or relative to `process.cwd()`.

#### options.delimiters
Type: `String`  
Default: `["${*}", "@"]`

Delimiters to use for string filtering. [More info](https://github.com/samolsen/node-filter-java-properties/blob/master/docs/javascript-api.md#filter-delimiters).



## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License)

[npm-url]: https://npmjs.org/package/gulp-filter-java-properties
[npm-image]: https://badge.fury.io/js/gulp-filter-java-properties.png

[travis-url]: http://travis-ci.org/samolsen/gulp-filter-java-properties
[travis-image]: https://secure.travis-ci.org/samolsen/gulp-filter-java-properties.png?branch=master

[coveralls-url]: https://coveralls.io/r/samolsen/gulp-filter-java-properties
[coveralls-image]: https://coveralls.io/repos/samolsen/gulp-filter-java-properties/badge.png

[depstat-url]: https://david-dm.org/samolsen/gulp-filter-java-properties
[depstat-image]: https://david-dm.org/samolsen/gulp-filter-java-properties.png

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