UNPKG

firebase-dates-util

Version:

A util package to transform dates string, numbers or Date Objects to firebase Timestamp and viceversa

33 lines (19 loc) 706 B
# firebase-dates-util This is a tool that will help you transform date fields in object to a different formats as - number - date string - number - firebase Timestamp ## Install ```npm npm i firebase-dates-util --save ``` # Usage install into a project set firebase config JSON this package include some default fields that will be transformed. How ever you can add more fields or discards some others # Contributing If someone wants to add or improve something, I invite you to collaborate directly in this repository: [firebase-dates-util](https://github.com/raulzarzadev/firebase-date-util/) # License random-msg is released under the [MIT License](https://opensource.org/licenses/MIT).