Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brackets2dots

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brackets2dots

Convert string with bracket notation to dot property notation for Node.js and the browser.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
58K
increased by18.16%
Maintainers
1
Weekly downloads
 
Created
Source

brackets2dots.js

Build Status NPM version NPM downloads LICENSE

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

$ component install wilmoore/brackets2dots

bower

$ bower install brackets2dots.js

npm

NPM

volo

$ volo add wilmoore/brackets2dots.js

manual

  1. download

     % curl -#O https://raw.github.com/wilmoore/brackets2dots.js/master/brackets2dots.js
    
  2. use

     <script src="brackets2dots.js"></script>
    

Inspiration

License

MIT

Keywords

FAQs

Package last updated on 05 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc