gagle / node-properties

.properties parser/stringifier.
MIT License
133 stars 42 forks source link

Add support for tolerant substitution #26

Open kalistace opened 8 years ago

kalistace commented 8 years ago

node-properties is currently throwing an error when it cannot find a variable.

Sometimes, we want to keep the placeholders as the application itself or another tool will resolve the placeholders further ahead in the process.

The tolerant_substitution option allows this behavior by partially resolving the properties if it cannot find some properties.

gagle commented 8 years ago

Let me check the changes tomorrow and I'll push a new version of this module!

kalistace commented 8 years ago

Thank you. Let me know if you have any questions or if you want me to change something