Bakhtina Sofya b84cb877be 1st comm 3 недель назад
..
.npmignore b84cb877be 1st comm 3 недель назад
.travis.yml b84cb877be 1st comm 3 недель назад
LICENSE b84cb877be 1st comm 3 недель назад
README.md b84cb877be 1st comm 3 недель назад
index.js b84cb877be 1st comm 3 недель назад
package.json b84cb877be 1st comm 3 недель назад
test.js b84cb877be 1st comm 3 недель назад

README.md

generate-object-property

Generate safe JS code that can used to reference a object property

npm install generate-object-property

build status

Usage

var gen = require('generate-object-property');
console.log(gen('a','b')); // prints a.b
console.log(gen('a', 'foo-bar')); // prints a["foo-bar"]

License

MIT