# isdst

> Daylight Savings Time

Latest version **1.0.0** (published 2015-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install isdst
pnpm add isdst
yarn add isdst
bun add isdst
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-01-05 |
| First published | 2015-01-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brennan Stehling |
| Maintainers | smallsharptools |
| Keywords | dst, daylight savings time |

## Links

- npm: https://www.npmjs.com/package/isdst
- npm.io page: https://npm.io/package/isdst

## Dependencies (1)

- [tap](https://npm.io/package/tap.md) ^0.4.13

## Recent versions

- 1.0.0 (latest) — 2015-01-05
- 0.0.1 — 2015-01-05

## README

isDST
=====

Given a date value it will return a boolean value indicating Daylight Savings.

DST is observed in certain regions of this time zone between the 2nd Sunday
in March and the 1st Sunday in November. [Wikipedia](https://en.wikipedia.org/wiki/Central_Time_Zone)

Usage
=====

````js
var isDST = require("isdst").isDST;

var now = new Date();
var dst = isDST(now);

console.log(dst ? "Daylight Savings Time" : "Standard Time");
````

### License

MIT

### Author

Brennan Stehling (@brennanmke, @smallsharptools)

---
_Source: https://npm.io/package/isdst · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
