npm.io
1.4.0 • Published 1 year ago

parse-reminder

Licence
ISC
Version
1.4.0
Deps
1
Size
7 kB
Vulns
0
Weekly
0
Stars
24

parse-reminder

a node module to parse natural language reminders into who, what, and when.

It aims to support all common forms of natural language for reminders. For example:

  • remind me to send invites at 3pm tomorrow
  • remind me to wish Jamie happy birthday on 8/28
  • remind me in 10 minutes to change the laundry
  • remind me that the oil needs changed on Oct 4
  • remind me next Friday to water the plants

Usage

var parseReminder = require('parse-reminder')

console.log(parseReminder('remind me to call the doctor tomorrow'))
// Output:
// { who: 'me',
//   what: 'call the doctor',
//   when: 2017-09-12T12:00:00.000Z }

Keywords