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
Markdown
is a tool that will help you transform date fields in object to a different formats as
- number
- date string
- number
- firebase Timestamp
```npm
npm i firebase-dates-util --save
```
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
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/)
random-msg is released under the [MIT License](https://opensource.org/licenses/MIT).
This