node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »


Emre - Object selection like a boss

With Emre, you can access object properties (and set them too!) using a string containing dot-notation-like syntax. Very useful for command like apps that have config settings.


Emre can be used both on the client, and server-side. For client installs, just take the js file and include it in your project. For nodejs:

npm install emre

Then in your project: var emre = require('emre');


Reading values: emre(object, '') Returns the found property value.

Writing values: emre(object, '', value) Returns a modified object.