parse-reminder

1.3.0 • Public • Published

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 }

Dependencies (1)

Dev Dependencies (3)

Package Sidebar

Install

npm i parse-reminder

Weekly Downloads

3

Version

1.3.0

License

ISC

Unpacked Size

7.34 kB

Total Files

7

Last publish

Collaborators

  • bkeepers