❯ node
Welcome to Node.js v18.17.1.
Type ".help" for more information.
> const chrono = require('chrono-node');
undefined
> chrono.parseDate('friday')
2023-09-08T04:00:00.000Z
> chrono.parseDate('this friday')
2023-09-15T04:00:00.000Z
> chrono.parseDate('thursday')
2023-09-14T04:00:00.000Z
> chrono.parseDate('sunday')
2023-09-10T04:00:00.000Z
> chrono.parseDate('this sunday')
2023-09-17T04:00:00.000Z
> chrono.parseDate('today')
2023-09-11T09:14:35.989Z
>