gulp-properties-to-object
v0.1.0
Published
Parse properties files and save in memory(object)
Downloads
1
Maintainers
Readme
gulp-properties-to-object
Parse properties files and save in memory(object)
Install
npm install gulp-properties-to-object
Usage
const toObject = require("gulp-properties-to-object");
var db = {};
gulp.src("./src/*.properties")
.pipe(toObject(db))
.on('finish', function () {
console.log('__FINISH__', db);
});
TODO
- [x] Trim spaces
- [x] Stream support
- [ ] Export JSON
- [ ] Add benchmark
- [ ] Add Travis
- [ ] Add to Coveralls.io
- [ ] Add to Depstat