dgsw-meal
Daegu Software High School meal Parsing Library for node.js
Table of Contents
- Installation
- Usage Example
- Licence
Installation
you can install to use npm or yarn
npm install dgsw-meal
yarn install dgsw-meal
Usage Example
getMeal(year, month)
parameter | type | required | description |
---|---|---|---|
year | number | true | the year to search |
month | number | true | the month to search from 1 to 12 |
- example
const dgswMeal = ; // es5; // es6 dgswMeal;/** console { "year": number, "month": number, "currentDay": number, "meal": { "1": string, // 1st menu "2": string, ... "31": "[조식]...[중식]...[석식]...", }, "today": string, }*/