# properties-2-json-webpack-plugin-webpack-4

> Webpack plugin for converting .properties files into .json file

Latest version **1.0.4** (published 2019-06-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install properties-2-json-webpack-plugin-webpack-4
pnpm add properties-2-json-webpack-plugin-webpack-4
yarn add properties-2-json-webpack-plugin-webpack-4
bun add properties-2-json-webpack-plugin-webpack-4
```

## 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.4 |
| Published | 2019-06-08 |
| First published | 2019-06-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Michal Kurcius |
| Maintainers | denis.bezu |
| Keywords | webpack, plugin, properties, json |

## Links

- npm: https://www.npmjs.com/package/properties-2-json-webpack-plugin-webpack-4
- Repository: https://github.com/mk1990/Properties2JsonPlugin
- Homepage: https://github.com/mk1990/Properties2JsonPlugin#readme
- Issues: https://github.com/mk1990/Properties2JsonPlugin/issues
- npm.io page: https://npm.io/package/properties-2-json-webpack-plugin-webpack-4

## Dependencies (2)

- [globby](https://npm.io/package/globby.md) ^6.1.0
- [properties](https://npm.io/package/properties.md) ^1.2.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.4 (latest) — 2019-06-08

## README

# Properties2JsonPlugin
Webpack plugin for converting .properties files into .json file

## Installation
```
npm install properties-2-json-webpack-plugin --save-dev
```

## Usage
```js
const Properties2JsonPlugin = require('properties-2-json-webpack-plugin');

module.exports = {
  plugins: [  
    new Properties2JsonPlugin([{
      files: ["**/*_pl.properties"],
      output: 'pl.json'
    }, {
      files: ["**/*_en.properties"],
      output: 'en.json'
    }])
  ]
}
```

## Support options
[npm/properties](https://github.com/gagle/node-properties)
```js
new Properties2JsonPlugin({
  files: ["**/*_pl.properties"],
  output: 'pl.json',
  options: {
    namespaces: true
  }
})
```

## Tests
```
npm test
```

## License
MIT License

---
_Source: https://npm.io/package/properties-2-json-webpack-plugin-webpack-4 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
