{"id":13681623,"url":"https://github.com/googlearchive/firebase-util","last_synced_at":"2025-12-12T04:12:33.772Z","repository":{"id":12387551,"uuid":"15039839","full_name":"googlearchive/firebase-util","owner":"googlearchive","description":"An experimental toolset for Firebase","archived":true,"fork":false,"pushed_at":"2019-01-11T23:16:34.000Z","size":816,"stargazers_count":276,"open_issues_count":29,"forks_count":67,"subscribers_count":69,"default_branch":"master","last_synced_at":"2024-04-14T12:03:14.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://firebase.github.io/firebase-util","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/googlearchive.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-09T06:25:16.000Z","updated_at":"2024-02-12T23:52:32.000Z","dependencies_parsed_at":"2022-08-31T03:01:52.212Z","dependency_job_id":null,"html_url":"https://github.com/googlearchive/firebase-util","commit_stats":null,"previous_names":["firebase/firebase-util"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlearchive","download_url":"https://codeload.github.com/googlearchive/firebase-util/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223786796,"owners_count":17202603,"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":[],"created_at":"2024-08-02T13:01:33.261Z","updated_at":"2025-10-22T18:37:22.279Z","avatar_url":"https://github.com/googlearchive.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Status: Archived\nThis repository has been archived and is no longer maintained.\n\n![status: inactive](https://img.shields.io/badge/status-inactive-red.svg)\n\n# Firebase-util\n\n[![Build Status](https://travis-ci.org/firebase/firebase-util.svg?branch=master)](https://travis-ci.org/firebase/firebase-util)\n[![Coverage Status](https://img.shields.io/coveralls/firebase/firebase-util.svg)](https://coveralls.io/r/firebase/firebase-util)\n[![Version](https://badge.fury.io/gh/firebase%2Ffirebase-util.svg)](http://badge.fury.io/gh/firebase%2Ffirebase-util)\n\nThis is a collection of power toys (mostly experimental) and utilities for use in Firebase.\n\n## The Tools\n\n - **Firebase.util.NormalizedCollection**\n   Sync to multiple Firebase database paths and seamlessly merge the data into a single object. You can use most of your favorite\n   Firebase database methods (on, once, set, etc) normally. The merged data is distributed back to the responsible paths\n   during set/update/remove ops. [View Docs and API](src/NormalizedCollection/README.md)\n\n - **Firebase.util.Paginate**\n   Infinite scrolling and pagination with Firebase data. [View Docs and API](src/Paginate/README.md)\n\n## Setup\n\n### In the browser\n\nWith Bower: `bower install firebase-util`\n\nFrom the CDN: https://cdn.firebase.com/libs/firebase-util/x.x.x/firebase-util.min.js\n\n```\n\u003cscript\u003e\n   // off the global Firebase.util namespace\n   var emailKey = Firebase.util.escapeEmail( anEmailAddress );\n\n   // or in your browserify packages\n   //var fbutil = require('firebase-util');\n\u003c/script\u003e\n```\n\n### In Node\n\n```javascript\nvar fbutil = require('./firebase-util.js');\nvar emailKey = fbutil.escapeEmail( anEmailAddress );\n```\n\n## Global Utilities\n\n### Firebase.util.logLevel(int)\n\nLog debugging info to JavaScript console (or command line in node.js). Defaults to 'warn' (errors and warnings).\nThis can be set or changed at any time to any of the following:\n\n```javascript\nFirebase.util.logLevel(true);  // default logging (also accepts 'all' or 'on')\nFirebase.util.logLevel(false); // all logging off (also accepts 0, 'off' or 'none')\nFirebase.util.logLevel('error'); // error, warn, info, log, or debug\n```\n\nDebugging can also be enabled in the browser by adding `debugLevel=x` into the url's query parameters. This allows one to turn on debugging for quick troubleshooting without having to modify any code.\n\nThe logLevel() method returns a `revert` function that can be used to restore the logging level to it's previous value:\n\n```javascript\n// log a whole lotta junk\nvar revert = Firebase.util.logLevel('debug');\n\n// ...run some code...\n\n// revert to default logging\nrevert();\n```\n\nYou can also filter log output with a RegExp:\n\n```javascript\n// only print logs that begin with \"Path\"\nFirebase.util.logLevel('debug', /^Path/);\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n# LICENSE\n\nSee [MIT LICENSE](MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglearchive%2Ffirebase-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglearchive%2Ffirebase-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglearchive%2Ffirebase-util/lists"}