Skip to content

Commit 32c79b6

Browse files
committed
fix typo
1 parent bf9321d commit 32c79b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ If you are using a CommonJS project, you can dynamically import the package:
8080
```javascript
8181
(async () => {
8282
const weatherFormulas = await import('weather-formulas');
83-
const { temperature } = weatherFormulas;
84-
const RH = temperature.relativeHumidity(TEMPERATURE, DEW_POINT);
85-
console.log(`Relative Humidity: ${RH}%`);
83+
const { humidity } = weatherFormulas;
84+
const RH = humidity.relativeHumidity(TEMPERATURE, DEW_POINT);
8685
})();
8786
```
8887

0 commit comments

Comments
 (0)