Skip to content

Commit aa0a556

Browse files
authored
Update README.md
1 parent e698367 commit aa0a556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ yarn add is-us-holiday-light
2222
## Usage
2323

2424
```javascript
25-
const isUsHoliday = require('is-us-holiday-light');
25+
import { isUsHoliday } from 'is-us-holiday-light';
2626

2727
const date = new Date('2023-07-04');
2828
console.log(isUsHoliday(date)); // true, because it's Independence Day

0 commit comments

Comments
 (0)