From 1e31c2cd937a6b3003988d7618d496662b85616f Mon Sep 17 00:00:00 2001 From: Robby Muhammad Nst Date: Sat, 10 Mar 2018 14:15:22 +0700 Subject: [PATCH] Change Readme again xD --- README.md | 6 ++---- package.json | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) 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" }