Socket
Book a DemoInstallSign in
Socket

holimoli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

holimoli

command line program to retrieve whitelisted holidays

0.0.6
latest
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Installation

To use from command line

npm install holimoli -g

To use from a project

npm install holimoli --save-dev

Instructions


$ > holimoli --help

  --output         relative path to file          default=console.log
  --year           4 digit year                   default=2016
  --whitelist      JSON array of holiday names
  --date-format    format date using moment.js    default='MM/DD/YYYY'

Examples

all options can be used in conjunction with one another

export all of the holidays from the current year to a file called holidays.json in the current directory

$ > holimoli --output="./holidays.json"

export only halloween to ./halloween.json

$ > holimoli --whitelist='["Halloween"]' --output="./holidays.json"

only show month and day in date output, log to stdout. more options for formatting available at momentjs.com

$ > holimoli --date-format="MM/DD"

export holidays from a year other than the current year

$ > holimoli --year=2017

FAQs

Package last updated on 07 Jul 2016

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.