1.0.0 • Published 1 year ago
sermana-use v1.0.0
sermana-use
An example JavaScript file that uses the sermana package.
Installation
You don't need to install this package directly. It's just an example file to demonstrate how to use the sermana package.
Usage
const sermana = require('sermana');
// Get the current week number
const currentWeek = sermana.getCurrentWeekNumber();
console.log('Current week number:', currentWeek);
// Get the start date of the current week
const startDate = sermana.getStartOfWeek();
console.log('Start date of current week:', startDate.toDateString());
// Get the end date of the current week
const endDate = sermana.getEndOfWeek();
console.log('End date of current week:', endDate.toDateString());
License
This project is licensed under the MIT License - see the LICENSE file for details.
1.0.0
1 year ago