Socket
Socket
Sign inDemoInstall

@types/japanese-holidays

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

japanese-holidays/LICENSE

24

japanese-holidays/index.d.ts
// Type definitions for japanese-holidays 1.0
// Project: https://github.com/osamutake/japanese-holidays-js
// Definitions by: syamatoo <https://github.com/syamatoo>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace JapaneseHolidays;
export function isHoliday(date: Date, furikae?: boolean): string | undefined;

@@ -10,2 +13,23 @@ export function isHolidayAt(date: Date, furikae?: boolean): string | undefined;

export function getJDate(date: Date): number;
export function getJDay(date: Date): number;
export function getJFullYear(date: Date): number;
export function getJHours(date: Date): number;
export function getJMinutes(date: Date): number;
export function getJMonth(date: Date): number;
export function j2u(date: Date): Date;
export function jDate(year: number, month: number, day: number): Date;
export function shiftDate(
date: Date,
year: number,
mon: number,
day: number,
hour: number,
min: number,
sec: number,
msec: number,
): Date;
export function u2j(date: Date): Date;
export function uDate(year: number, month: number, day: number): Date;
export interface Holiday {

@@ -12,0 +36,0 @@ month: number;

19

japanese-holidays/package.json
{
"name": "@types/japanese-holidays",
"version": "1.0.0",
"version": "1.0.1",
"description": "TypeScript definitions for japanese-holidays",

@@ -9,15 +9,22 @@ "license": "MIT",

"name": "syamatoo",
"url": "https://github.com/syamatoo"
"url": "https://github.com/syamatoo",
"githubUsername": "syamatoo"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/japanese-holidays"
},
"scripts": {},
"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "281ce11110aeb09edbee6b1c69fe648e0a5150b2d49b6295dfb4fda13d8cb1ca",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "04214bc0699d8ee1fa268667a5041a82e450864a5ceb949585ac661c6d81df31",
"typeScriptVersion": "3.5"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/japanese-holidays
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/japanese-holidays.
Additional Details
* Last updated: Tue, 14 Feb 2017 21:35:59 GMT
### Additional Details
* Last updated: Sun, 11 Apr 2021 11:31:21 GMT
* Dependencies: none
* Global values: none
* Global values: `JapaneseHolidays`
# Credits
These definitions were written by syamatoo <https://github.com/syamatoo>.
These definitions were written by [syamatoo](https://github.com/syamatoo), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc