[go: up one dir, main page]

Skip to content
/ dotify Public
forked from GeenenTijd/dotify

Convert javascript object to dot notation object

Notifications You must be signed in to change notification settings

ladjs/dotify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 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

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%