binar-utils
v1.1.1
Published
utils collections
Readme
Binar Utils
Binar Academy utility module collections
Getting Started
Installation
- npm
npm install binar-utils - yarn
yarn add binar-utils
Usage
example
import utils from 'binar-utils';
...
utils.getTime(new Date())API
getDate
getDate(date);returns {string} date string, ex: '1 Desember 2022'
getTime
getTime(date);returns {string} time string, ex:'19:00'
calendarFormat
calendarFormat(date);returns {string} date string, ex:'20221231T020000'
Contributing
If you have a suggestion that would make this better, please create the feature branch and a merge request. You can also simply open an issue with the tag "enhancement".
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Merge Request
License
Distributed under the MIT License.
