ldaca/formatter-date
Whenever I start a new project, I don't know what to write for the first commit. After doing a “git init” there is technically nothing there...
Install
npm install formatter-date
Usage
import { format } from "formatter-date";
let date = new Date();
let formattedDate = format(date, 'yyyymmddhhiissms');
console.log(formattedDate);
Contributing
If someone wants to add or improve something, I invite you to collaborate directly in this repository: formatter-date
License
formatter-date is released under the MIT License.