1.1.1 • Published 2 years ago

binar-utils v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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".

  1. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  2. Commit your Changes (git commit -m 'Add some AmazingFeature')
  3. Push to the Branch (git push origin feature/AmazingFeature)
  4. Open a Merge Request

License

Distributed under the MIT License.

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

1.0.0-alpha.27

2 years ago

1.0.0-alpha.26

2 years ago

1.0.0-alpha.25

2 years ago

1.0.0-alpha.24

2 years ago

1.0.0-alpha.23

2 years ago

1.0.0-alpha.22

2 years ago

1.0.0-alpha.21

2 years ago

1.0.0-alpha.2

2 years ago

1.0.0-alpha1

2 years ago

1.0.0-alpha

2 years ago