{"id":17788282,"url":"https://github.com/nickytonline/b-flat","last_synced_at":"2025-08-10T03:36:02.803Z","repository":{"id":57196417,"uuid":"50081961","full_name":"nickytonline/b-flat","owner":"nickytonline","description":"A simple object flattener/unflattener.","archived":false,"fork":false,"pushed_at":"2018-02-19T03:32:14.000Z","size":16,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T01:59:16.803Z","etag":null,"topics":[],"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/nickytonline.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":"2016-01-21T04:26:16.000Z","updated_at":"2016-10-04T21:11:57.000Z","dependencies_parsed_at":"2022-09-16T12:12:41.885Z","dependency_job_id":null,"html_url":"https://github.com/nickytonline/b-flat","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/nickytonline/b-flat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fb-flat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fb-flat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fb-flat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fb-flat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickytonline","download_url":"https://codeload.github.com/nickytonline/b-flat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickytonline%2Fb-flat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269672082,"owners_count":24457114,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-27T10:18:17.989Z","updated_at":"2025-08-10T03:36:02.768Z","avatar_url":"https://github.com/nickytonline.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ♭-flat\n\n[![build status](https://travis-ci.org/nickytonline/b-flat.svg?branch=master)](https://travis-ci.org/nickytonline/b-flat)\n[![npm version](https://img.shields.io/npm/v/b-flat.svg?style=flat-square)](https://www.npmjs.com/package/b-flat)\n\nA simple object flattener/unflattener. \n\nInstallation\n------------\n`npm install b-flat`\n\nUsage\n-----\n\nVia ES6 import from module\n```\nconst { flatten, unflatten } from 'b-flat';\n\nconst flattenedObject = flatten({a: [1,2,3]});\nconsole.log(flattenedObject);\nconsole.log(unflatten(flattenedObject));\n```\n\nVia require\n```\nconst flatten = require('b-flat').flatten;\nconst unflatten = require('b-flat').unflatten;\n\nconst flattenedObject = flatten({a: [1,2,3]});\nconsole.log(flattenedObject);\nconsole.log(unflatten(flattenedObject));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickytonline%2Fb-flat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickytonline%2Fb-flat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickytonline%2Fb-flat/lists"}