Change Readme again xD

master
Orion Stark 7 years ago
parent 76e8282976
commit 1e31c2cd93
  1. 6
      README.md
  2. 3
      package.json

@ -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.

@ -15,5 +15,6 @@
],
"dependencies": {
"tap": "^11.1.2"
}
},
"readme": "README.md"
}

Loading…
Cancel
Save