dotize

0.3.0 • Public • Published

npm version Bower version Build Status codecov

dotize

Convert (Complex js object)

{
  "status": "success",
  "auth": {
    "code": 123,
    "name": "qwerty asdfgh"
  }
}

to (Dot notation js object)

{
  "status": "success",
  "auth.code": 123,
  "auth.name": "qwerty asdfgh"
}

npm

npm install dotize

bower

bower install dotize

tests

npm install -g mocha
mocha test/test.js

Package Sidebar

Install

npm i dotize

Weekly Downloads

3,509

Version

0.3.0

License

Apache-2.0

Unpacked Size

24 kB

Total Files

11

Last publish

Collaborators

  • vardars