node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

properties-loader

properties-loader

Loader for .properties files for Webpack

Build Status

Installation

$ npm install properties-loader

Usage

The returned module of a properties-loader file is just a simple key value mapping via the properties module.

# l10n.properties
greeting.hello=Hello!
var L10N = require("properties-loader!./l10n.properties");
console.log(L10N.greeting.hello); // "Hello!" 

Testing

TODO

License

MIT License, Copyright (c) 2015 Jordan Santell