Skip to content

Commit

Permalink
Update import statement in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Franky Chan committed Apr 30, 2023
1 parent 8fdec54 commit 25929bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ npm install aws-cron-parser
There are only 3 methods: `parse`, `next`, and `prev`

```js
import awsCronParser from "aws-cron-parser";
import * as awsCronParser from "aws-cron-parser";

// first we need to parse the cron expression
const cron = awsCronParser.parse("9 * 7,9,11 5 ? 2020,2022,2024-2099");
Expand Down

0 comments on commit 25929bf

Please sign in to comment.