New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gulp-filter-java-properties

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-filter-java-properties

Gulp wrapper for the filter-java-properties Node pacakge

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
7
75%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-filter-java-properties

NPM version Build Status

gulp wrapper for the 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:

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

Then, add it to your gulpfile.js:

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.

License

MIT License

Keywords

gulpplugin

FAQs

Package last updated on 04 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts