Installation
npm install @yarunoka/coreThat is the whole installation. The package registers nothing, runs no install scripts, and has no bootstrapping step — every entry point is a named export you import yourself.
The Temporal polyfill
Section titled “The Temporal polyfill”Node.js 26 or newer has Temporal built in and needs no polyfill — see Requirements. For runtimes without the Temporal API, install a polyfill once, in your application:
npm install temporal-polyfillimport 'temporal-polyfill/global';The polyfill belongs to the application rather than to this package — an environment that has Temporal natively should not carry one, and only the application knows which environments it runs in.
Verifying the installation
Section titled “Verifying the installation”import { parse } from '@yarunoka/core';
const document = parse({ version: '1.1', timezone: 'Asia/Tokyo', schedules: [{ days: [25], times: ['10:00'] }],});
document.timezone; // "Asia/Tokyo"document.schedules.length; // 1