Sha256: b904c6f1bbf68786fd246adf2ac3c02f5cba53ade6445cebb829f1780c9597fe
Contents?: true
Size: 473 Bytes
Versions: 87
Compression:
Stored size: 473 Bytes
Contents
# generate-object-property Generate safe JS code that can used to reference a object property npm install generate-object-property [![build status](http://img.shields.io/travis/mafintosh/generate-object-property.svg?style=flat)](http://travis-ci.org/mafintosh/generate-object-property) ## Usage ``` js 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
Version data entries
87 entries across 82 versions & 13 rubygems