diff --git a/README.md b/README.md index 1bffe7e..46df2c9 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,21 @@ yarn add date-convert-ad-bs ## Usage -How to Use +How to Use +#### ES6 Syntax ```javascript - +``` + +### CommonJS Syntax +```javascript + const converter = require('date-convert-ad-bs'); + + console.log(converter.ADTOBS(2023,5,29)); // ~ 2080-03-14 + console.log(converter.BSTOAD(2080,2,15)); // ~ 2023-06-29 ```