An open API service indexing awesome lists of open source software.

https://github.com/antonmedv/year

All unix epoch dates
https://github.com/antonmedv/year

Last synced: 10 months ago
JSON representation

All unix epoch dates

Awesome Lists containing this project

README

          

# @year

A bunch of npm packages for all [epoch](https://en.wikipedia.org/wiki/Unix_time) dates.
Includes all dates between 1 January 1970 and 19 January 2038.

## Install

~~~
npm install @year/1970
~~~

## Usage

~~~js
const day = require('@year/1970/01/01')
~~~

Returns a [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) object.

## License

MIT