{"id":24719172,"url":"https://github.com/lightwithoutlisonlyight/dottify","last_synced_at":"2026-04-17T17:32:12.134Z","repository":{"id":57215534,"uuid":"355188553","full_name":"LightwithoutLisonlyight/dottify","owner":"LightwithoutLisonlyight","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-07T20:57:21.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T15:19:36.610Z","etag":null,"topics":["dot","dot-notation","dot-notation-dict","dottify","dotty","javascript","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LightwithoutLisonlyight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-06T12:55:53.000Z","updated_at":"2021-04-08T13:23:35.000Z","dependencies_parsed_at":"2022-08-26T13:31:37.269Z","dependency_job_id":null,"html_url":"https://github.com/LightwithoutLisonlyight/dottify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightwithoutLisonlyight%2Fdottify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightwithoutLisonlyight%2Fdottify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightwithoutLisonlyight%2Fdottify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightwithoutLisonlyight%2Fdottify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LightwithoutLisonlyight","download_url":"https://codeload.github.com/LightwithoutLisonlyight/dottify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244952554,"owners_count":20537467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dot","dot-notation","dot-notation-dict","dottify","dotty","javascript","nodejs","typescript"],"created_at":"2025-01-27T11:16:55.152Z","updated_at":"2026-04-17T17:32:12.103Z","avatar_url":"https://github.com/LightwithoutLisonlyight.png","language":"JavaScript","readme":"# dottify - The easiest way to flat a object\n\n\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/dottify\"\u003e \u003cimg alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/min/dottify\"\u003e\n\n\u003cbr\u003e\n\nHow to use it ?\n\n```javascript\n\n// Import it\nconst dottify = require('dottify')\n\n// Example Object\nlet object = {\n\n    a : 1,\n    b : 'Hello',\n    c : true,\n    d : [0,1,2,false,'Dottify'],\n    e : {\n        a: {\n            b : {\n                c : 'This is an inner value',\n                d : () =\u003e console.log(0)\n            }\n        }\n    },\n    f : undefined,\n    g : null\n\n}\n\n// Flat \u0026 save it\n// The second parameter is optional... the default separator is the dot.\nlet flatted = dottify(object,'.')\n\n//Print the result \nconsole.log(flatted)\n\n\n/* \n\nThe Output\n\n{\n    a: 1,\n    b: 'Hello',\n    c: true,\n    'd.0': 0,\n    'd.1': 1,\n    'd.2': 2,\n    'd.3': false,\n    'd.4': 'Dottify',\n    'e.a.b.c': 'This is an inner value',\n    'e.a.b.d': [Function: d],\n    f: undefined,\n    g: null\n  }\n\n  */\n  \n  ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightwithoutlisonlyight%2Fdottify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightwithoutlisonlyight%2Fdottify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightwithoutlisonlyight%2Fdottify/lists"}