New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rokameal

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rokameal

Simplified meal data fetcher using Republic of Korea Army Open Data API (Ministry of Defense)

latest
Source
npmnpm
Version
1.0.3-1
Version published
Maintainers
1
Created
Source

rokameal

박병장님 오늘 아침밥은 돈김볶에 계란국이지말입니다.

사실 대회 나가려다가 이게 없나...? 싶어서 만들었어요. 배치 작업에 최적화된 군-밥 라이브러리!

Getting Started

PREREQUISITE: https://opendata.mnd.go.kr/ 에서 API키를 먼저 받아주세요

yarn add rokameal
import { MealFetcher } from 'rokameal'

const main = async () => {
	const mealFetcher = new MealFetcher(YOUR_API_KEY_HERE)
	const mealData = await mealFetcher.getMeal('ATC', new Date()) // 육훈소
	console.log(`박병장님 오늘 아침메뉴는 ${mealData.breakfast.join(', ')}입니다`)
}
main()

Features

  • Written in 100% pure TypeScript
  • Cache read/write using Map
  • Export cache to disk using JSON
  • Complete list of all BASE_CODES

Keywords

ROKA

FAQs

Package last updated on 28 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts