https://github.com/scriptnull/cmd-vortex
Transfer files from command line.
https://github.com/scriptnull/cmd-vortex
Last synced: 10 months ago
JSON representation
Transfer files from command line.
- Host: GitHub
- URL: https://github.com/scriptnull/cmd-vortex
- Owner: scriptnull
- Created: 2015-08-20T08:03:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-23T17:12:32.000Z (over 10 years ago)
- Last Synced: 2025-02-10T03:26:53.854Z (12 months ago)
- Language: JavaScript
- Size: 1.07 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# generate-object-property
Generate safe JS code that can used to reference a object property
npm install generate-object-property
[](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