Yek is key spelt backwards. It changes ["one", "two", "three"] to one[two][three] and back. It is a simple library and does stresses on consistency to and fro. It's a bracket notation and is not customizable to be dot notation.
var atos = require('yek/atos');
atos(['one', 'two', 'three']);
// returns one[two][three]
var stoa = require('yek/stoa');
stoa('one[two][three]');
// returns ['one', 'two', 'three']
Install from npm
.
npm install --save yek
var atos = require('yek/atos');
atos(['one', 'two', 'three']);
// returns one[two][three]
var stoa = require('yek/stoa');
stoa('one[two][three]');
// returns ['one', 'two', 'three']
MIT