Package Exports
- brackets2dots
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (brackets2dots) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
brackets2dots.js
Convert string with bracket notation to dot property notation for Node.js and the browser.
Example
var brackets2dots = require('brackets2dots');
brackets2dots('group[0].section.a.seat[3]')
//=> 'group.0.section.a.seat.3'
Installation
$ component install wilmoore/brackets2dots
$ bower install brackets2dots.js
$ volo add wilmoore/brackets2dots.js
download
% curl -#O https://raw.github.com/wilmoore/brackets2dots.js/master/brackets2dots.js
use
<script src="brackets2dots.js"></script>