Skip to content

rago4/date2calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

date2calendar

A simple function that takes date as a parameter and turns it into a calendar in the form of a two-dimensional array (of weeks and days) which you can use to build fully customizable calendar components.

This package is also a part of an article on DEV Community - you can check it out here.

Install

npm install date2calendar

Usage

import date2calendar from "date2calendar";

const calendar = date2calendar({
  date: new Date(),
});

Examples

See this in action here 👇

About

A simple function that takes date as a parameter and turns it into a calendar in the form of a two-dimensional array

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published