Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rkrupinski/isitfriday

Have you ever wondered if it's Friday? Wonder no more!
https://github.com/rkrupinski/isitfriday

friday party typescript weekend

Last synced: about 1 month ago
JSON representation

Have you ever wondered if it's Friday? Wonder no more!

Awesome Lists containing this project

README

        

# isitfriday

![Build status](https://github.com/rkrupinski/isitfriday/workflows/CI/badge.svg)
[![minified + gzip](https://badgen.net/bundlephobia/minzip/isitfriday)](https://bundlephobia.com/package/isitfriday)

Have you ever wondered if it's Friday? Wonder no more!

![isitfriday](assets/isitfriday.gif)

## Installation

```
$ yarn add isitfriday
```

## Usage

Programmatic:
```ts
import isitfriday from 'isitfriday';

isitfriday(); // boolean
isitfriday(new Date('2023-02-17')) // boolean
isitfriday('2023-02-17'); // boolean
isitfriday(1676592000000); // boolean
isitfriday('xD'); // Error
```

Via `npx`:
```
$ npx isitfriday
```

CLI (global):
```
$ yarn global add isitfriday
$ isitfriday
```

CLI (local):
```
$ ./node_modules/.bin/isitfriday
```