New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

moment-jalaali-holiday

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment-jalaali-holiday

[![npm package version](https://img.shields.io/npm/v/moment-holiday.svg?style=flat-square)](https://www.npmjs.com/package/moment-holiday) [![Travis build status](https://img.shields.io/travis/kodie/moment-holiday.svg?style=flat-square)](https://travis-ci.

  • 1.1.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
37
increased by60.87%
Maintainers
1
Weekly downloads
 
Created
Source

moment-jalaali-holiday

npm package version Travis build status npm package downloads build/moment-holiday.min.js file size license

A Moment.js plugin for handling holidays.

Table of Contents

Requirements

Installation

Node.js

npm install moment-jalaali-holiday
//or
yarn add moment-jalaali-holiday
var moment = require('moment-jalaali-holiday');
moment('1398/07/27', 'jYYYY/jMM/jDD').isHoliday();
Use
moment().isHoliday();
//or
moment('1398/07/27', 'jYYYY/jMM/jDD').isHoliday();
Examples
moment('1398/07/27', 'jYYYY/jMM/jDD').isHoliday();
// true

moment('1398/01/13', 'jYYYY/jMM/jDD').isHoliday();
// true

moment('1398/01/15', 'jYYYY/jMM/jDD').isHoliday();
// false

License

MIT. See the License file for more info.

FAQs

Package last updated on 22 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc