# bee-fast

> Bee-fast is an npm package designed for functional programming in JavaScript applications, providing a collection of utility functions for common tasks such as formatting date-time, checking for the existence of values, and checking if an object is empty,

Latest version **0.0.2** (published 2023-03-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install bee-fast
pnpm add bee-fast
yarn add bee-fast
bun add bee-fast
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-03-19 |
| First published | 2023-03-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 51 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | justinnguyen97hust |

## Links

- npm: https://www.npmjs.com/package/bee-fast
- Repository: https://github.com/hungnv1997/beefast
- Homepage: https://github.com/hungnv1997/beefast#readme
- Issues: https://github.com/hungnv1997/beefast/issues
- npm.io page: https://npm.io/package/bee-fast

## Recent versions

- 0.0.2 (latest) — 2023-03-19
- 0.0.1 — 2023-03-16

## README

# Bee-fast

Bee-fast is an npm package designed for functional programming in JavaScript applications, providing a collection of utility functions for common tasks such as formatting date-time, checking for the existence of values, and checking if an object is empty.

One of the main features of Bee-fast is its focus on functional programming principles. The package is designed to be modular and composable, with each function designed to operate independently and produce predictable results. This makes it easy to incorporate Bee-fast into your functional programming workflow, allowing you to build robust and scalable applications with ease.

## Usage
##### Date Time
##### 1. formatDate()
```javascript
import {formatDate} from "bee-fast"

var myBirthday = new Date(1994, 10, 7);
formatDate('{mm}/{dd}/{yyyy}', myBirthday); // '11/07/1994'
```
Example: For January 2, 2053 4:30pm + 45 seconds

| String template | Output example | Meaning             |
| --------------- | -------------- | ------------------- |
| `{yyyy}`        | 2053           | 4-digit year        |
| `{yy}`          | 53             | 2-digit year        |
| `{mm}`          | 01             | 2-digit month       |
| `{m}`           | 1              | unpadded month      |
| `{Month}`       | January        | month name          |
| `{Mo}`          | Jan            | month shortname     |
| `{d}`           | 2              | date                |
| `{ds}`          | 2nd            | date + suffix       |
| `{dd}`          | 02             | 2-digit date        |
| `{Weekday}`     | Thursday       | day of the week     |
| `{Day}`         | Thu            | day shortname       |
| `{Dy}`          | Th             | day shortername     |
| `{D}`           | T              | 1-char day name     |
| `{h24}`         | 16             | unpadded hours (24) |
| `{hh24}`        | 16             | hours (24)          |
| `{hh}`          | 04             | hours (12)          |
| `{h}`           | 4              | unpadded hours (12) |
| `{ampm}`        | pm             | am/pm               |
| `{AMPM}`        | PM             | AM/PM               |
| `{Minutes}`     | 30             | Minutes (padded)    |
| `{Seconds}`     | 45             | Seconds (padded)    |
## Authors

- [@justinNguyen97](https://github.com/hungnv1997)


## Badges


[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)

---
_Source: https://npm.io/package/bee-fast · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
