File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ const Logo = styled.img`
1919`
2020
2121const installCode = `# yarn
22- yarn install @neaps/tide-prediction
22+ yarn install @neaps/tide-predictor
2323
2424#npm
25- npm install --save @neaps/tide-prediction `
25+ npm install --save @neaps/tide-predictor `
2626
27- const basicUsageCode = `import TidePrediction from "@neaps/tide-prediction ";
27+ const basicUsageCode = `import tidePredictor from "@neaps/tide-predictor ";
2828const constituents = [
2929 {
3030 phase_GMT: 98.7,
@@ -36,7 +36,7 @@ const constituents = [
3636 //....there are usually many, read the docs
3737];
3838
39- const highLowTides = tidePrediction (constituents, {
39+ const highLowTides = tidePredictor (constituents, {
4040 phaseKey: "phase_GMT"
4141}).getExtremesPrediction({
4242 start: new Date("2019-01-01"),
You can’t perform that action at this time.
0 commit comments