updated require in readme

This commit is contained in:
Ali Camarata 2023-11-13 07:45:53 +07:00
parent e2c6dbe6ba
commit 61ef96ad08
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file.
- Unignored "dist" folder in git (major)
## [1.2.1] - 2023-11-12
## [1.2.2] - 2023-11-12
- Moved timezone to main args and changed default behavior (major)
- Updated test cases and readme to reflect new usage (minor)

View file

@ -13,7 +13,7 @@ npm install nrel-spa
Basic usage examples:
```javascript
const { getSpa, calcSpa } = require('./index');
const { getSpa, calcSpa } = require('nrel-spa');
const date = new Date();
console.log(date)