Code Monkey home page Code Monkey logo

iranian-calendar-events's Introduction

Build Status license

iranian-calendar-events

A simple package to fetch Iranian calendar events (Jalali, Hijri, Gregorian) from time.ir website.

Installation

npm i iranian-calendar-events
# or
yarn add iranian-calendar-events

Usage

import ice from 'iranian-calendar-events';

(async () => {
  const yearEvents = await ice({ year: 1396 }); // all events of the year
  const monthEvents = await ice({ year: 1396, month: 12 }); // all events of the month
  const dayEvents = await ice({ year: 1396, month: 12, day: 15 }); // all events of a day
  const dayEventsInAllMonths = await ice({ year: 1396, day: 15 }); // all events of a day number in all months
  // That's it! You can use them now!
})();

Ideas or Issues

Create an issue and describe it. I'll check it ASAP!

Contribution

You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️

Remember to write a few tests for your code before sending pull requests.

License

Licensed under the MIT License.

iranian-calendar-events's People

Contributors

mamal72 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.