diff --git a/README.md b/README.md index e0122aa..95b7a0d 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,12 @@ This program is not really accurate about the calculation. For the sunrise and s ## Install with npm npm install calculation-ofsun ## How to Use It -'''javascript - + '''javascript const cls = require('calculation-ofsun') console.log(cls.getSunInformation(new Date(), 33, 3)) /* Get Sun Information expected 3 parameters */ /* Date, lat, long */ - -''' + ''' You can also call any function except getSunPosition, because it automatically calls by the getSunInformation function to get sun position according to your input parameters for getSunInformation. diff --git a/package.json b/package.json index 3ee9482..fffebe8 100644 --- a/package.json +++ b/package.json @@ -15,5 +15,6 @@ ], "dependencies": { "tap": "^11.1.2" - } + }, + "readme": "README.md" }