JSPM

@gabortorma/dayjs-business-days-hu

2.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q43279F
  • License MIT

DayJS business days plugin with hungarian holidays

Package Exports

  • @gabortorma/dayjs-business-days-hu
  • @gabortorma/dayjs-business-days-hu/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gabortorma/dayjs-business-days-hu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@gabortorma/dayjs-business-days-hu

@reediculous456/dayjs-business-days with updated hungarian holidays and additional working days from 2010 to 2024.

Install

npm install @gabortorma/dayjs-business-days-hu

Import

import dayjs from '@gabortorma/dayjs-business-days-hu'

dayjs('2020-11-01').isHoliday() // true
dayjs('2020-10-15').isBusinessDay() // true

Import plugin options only

import { huOptions } from '@gabortorma/dayjs-business-days-hu/dist/options'

Usage

import dayjs from 'dayjs'
import dayjsBusinessDays from 'dayjs-business-days2'
import { huOptions } from '@gabortorma/dayjs-business-days-hu/dist/options'

dayjs.extend(dayjsBusinessDays, huOptions)

Usage Guide

See the original plugin: @reediculous456/dayjs-business-days