moredots

2.0.2 • Public • Published

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

/moredots/

    Package Sidebar

    Install

    npm i moredots

    Weekly Downloads

    1,749

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    2.67 kB

    Total Files

    5

    Last publish

    Collaborators

    • zertz