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

nse_holidays

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nse_holidays

This repo is of an npm package. Which helps in checking whether today is a holiday or trading day of NSE India

  • 1.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-81.82%
Maintainers
1
Weekly downloads
 
Created
Source

nse_holidays

This repo is of an npm package. Which helps in checking whether today is a holiday or trading day of NSE India

Usage

const {isTodayHoliday} = require("nse_holidays");

async function check(){

  return await isTodayHoliday();
  
} //returns an object {isHoliday:true,Holiday:"Republic Day"} or {isHoliday:false,Holiday:"no holiday"}

check() //calling function

Note

isTodayHoliday() //return a promise which resolves into an object try enclosing 'isTodayHoliday()' inside a async function

FAQs

Package last updated on 26 Feb 2023

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