8000 GitHub - GeenenTijd/dotify: Convert javascript object to dot notation object
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

GeenenTijd/dotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-dotify

Build Status

Convert Object

{
  status: 'success',
  name: {
    first: 'Glenn',
    last: 'Geenen'
  }
}

to (Dot notation object)

{
  status: 'success',
  'name.first': 'Glenn',
  'name.last': 'Geenen'
}

usage

var dotify = require('node-dotify');

var obj = {
  status: 'success',
  name: {
    first: 'Glenn',
    last: 'Geenen'
  }
};

var result = dotify(obj);

About

Convert javascript object to dot notation object

Resources

Stars

Watche 4528 rs

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0