Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T16:46:31.000Z (4 months ago)
- Last Synced: 2024-10-19T05:51:20.650Z (21 days ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 22
- Watchers: 3
- 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 }
```