Skip to content

Commit 2077e4d

Browse files
authored
Merge pull request #11 from bkeepers/fix-npm-name
@neaps/tide-prediction => @neaps/tide-predictor
2 parents c2d74cc + 12a4cd3 commit 2077e4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ const Logo = styled.img`
1919
`
2020

2121
const 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";
2828
const 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"),

0 commit comments

Comments
 (0)