2.0.2 • Published 3 years ago

moredots v2.0.2

Weekly downloads
1,335
License
MIT
Repository
github
Last release
3 years ago

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