moredots

Recursively converts objects to dot notation.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
moredots
2.0.23 years ago8 years agoMinified + gzip package size for moredots in KB

Readme

moredots NPM version
Recursively converts objects to dot notation.
npm install moredots

Usage

const moredots = require("moredots");

const result = moredots({
  foo: {
    bar: {
      baz: 42,
    },
  },
});

// result = {
//   'foo.bar.baz': 42
// }

Getting started

git clone https://github.com/Zertz/moredots.git
yarn
yarn test