https://github.com/bkeepers/parse-reminder
a node module to parse natural language reminders into who, what, and when
https://github.com/bkeepers/parse-reminder
Last synced: about 1 year ago
JSON representation
a node module to parse natural language reminders into who, what, and when
- Host: GitHub
- URL: https://github.com/bkeepers/parse-reminder
- Owner: bkeepers
- License: isc
- Created: 2017-09-12T01:24:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T16:46:31.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T16:11:23.351Z (about 1 year ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 23
- Watchers: 2
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```js
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 }
```