{"versions":{"2.0.1":{"name":"date-bengali-revised","version":"2.0.1","description":"Revised Bengali Calendar","keywords":["bengali","calendar","conversion","gregorian","revised"],"homepage":"https://github.com/commenthol/date-bengali-revised","bugs":{"url":"https://github.com/commenthol/date-bengali-revised/issues"},"repository":{"type":"git","url":"git+https://github.com/commenthol/date-bengali-revised.git"},"license":"MIT","author":{"name":"commenthol","email":"commenthol@gmail.com"},"maintainers":[{"name":"anonymous","email":"commenthol@gmail.com"}],"type":"module","exports":{".":{"import":"./src/index.js","require":"./lib/index.cjs"},"./package.json":"./package.json"},"main":"./lib/index.cjs","module":"./src/index.js","typings":"./types","directories":{"lib":"lib","test":"test"},"scripts":{"all":"npm-run-all clean lint build test","build":"rollup -c","clean":"rimraf lib coverage .nyc_output","clean:all":"npm-run-all clean clean:node_modules","clean:node_modules":"rimraf node_modules","coverage":"c8 -r text -r html npm run test:ci","lint":"eslint \"**/*.js\"","prepublishOnly":"npm run all","readme":"markedpp --githubid -i README.md -o README.md","test":"npm-run-all test:ci test:ts","test:ci":"mocha","test:ts":"dtslint types"},"mocha":{"checkLeaks":true,"colors":true},"devDependencies":{"c8":"^7.7.2","dtslint":"^4.0.9","eslint":"^7.26.0","eslint-config-standard":"^16.0.2","eslint-plugin-import":"^2.23.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^5.0.0","mocha":"^8.4.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.48.0","typescript":"^4.2.4"},"engines":{"node":">=12.0.0"},"gitHead":"94ef95886c24a0758b1c9a73e1b898bdf7f013a6","_id":"date-bengali-revised@2.0.1","_nodeVersion":"16.2.0","_npmVersion":"7.13.0","dist":{"shasum":"29771db7f471b5522b0a832e38f38aba86d4cd51","size":5382,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/date-bengali-revised/-/date-bengali-revised-2.0.1.tgz","integrity":"sha512-7D9FceOSpRy1MpLzxs0rMlTaUju9LNnIz6A2Hag3/+nB7RKdVKzuQrO7mchbCqFErLoTM+L5Ja/M03psWqGqGA=="},"_npmUser":{"name":"anonymous","email":"commenthol@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-bengali-revised_2.0.1_1621670754443_0.4559528320216726"},"_hasShrinkwrap":false,"publish_time":1621670754577,"_cnpm_publish_time":1621670754577,"_cnpmcore_publish_time":"2021-12-17T12:01:57.051Z","contributors":[]},"2.0.0":{"name":"date-bengali-revised","version":"2.0.0","description":"Revised Bengali Calendar","keywords":["bengali","calendar","conversion","gregorian","revised"],"homepage":"https://github.com/commenthol/date-bengali-revised","bugs":{"url":"https://github.com/commenthol/date-bengali-revised/issues"},"repository":{"type":"git","url":"git+https://github.com/commenthol/date-bengali-revised.git"},"license":"MIT","author":{"name":"commenthol","email":"commenthol@gmail.com"},"maintainers":[{"name":"anonymous","email":"commenthol@gmail.com"}],"type":"module","exports":{".":{"import":"./src/index.js","require":"./lib/index.cjs"},"./package.json":"./package.json"},"main":"./lib/index.cjs","typings":"./types","directories":{"lib":"lib","test":"test"},"scripts":{"all":"npm-run-all clean lint build test","build":"rollup -c","clean":"rimraf lib coverage .nyc_output","clean:all":"npm-run-all clean clean:node_modules","clean:node_modules":"rimraf node_modules","coverage":"c8 -r text -r html npm run test:ci","lint":"eslint \"**/*.js\"","prepublishOnly":"npm run all","readme":"markedpp --githubid -i README.md -o README.md","test":"npm-run-all test:ci test:ts","test:ci":"mocha","test:ts":"dtslint types"},"mocha":{"checkLeaks":true,"colors":true},"devDependencies":{"c8":"^7.5.0","dtslint":"^4.0.7","eslint":"^7.19.0","eslint-config-standard":"^16.0.2","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^5.0.0","mocha":"^8.3.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.38.5","typescript":"^4.1.5"},"engines":{"node":">=12.0.0"},"gitHead":"1240263c40e07f0091646e49f41fba202f0c60aa","_id":"date-bengali-revised@2.0.0","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"shasum":"1b5d4d3f9127d6fa233c61032f46e386bf8a8dcd","size":5437,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/date-bengali-revised/-/date-bengali-revised-2.0.0.tgz","integrity":"sha512-DjlFFNjlCQTVHcijNeur8qd65rjgijT9xI7uORKX510v0ukZNaRC3731WgwVNLgMU4ovaPJ9j9ix+czbJJdrKg=="},"_npmUser":{"name":"anonymous","email":"commenthol@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-bengali-revised_2.0.0_1616839098777_0.5128949984018125"},"_hasShrinkwrap":false,"publish_time":1616839098918,"_cnpm_publish_time":1616839098918,"_cnpmcore_publish_time":"2021-12-17T12:01:57.323Z","contributors":[]},"2.0.0-0":{"name":"date-bengali-revised","version":"2.0.0-0","description":"Revised Bengali Calendar","keywords":["bengali","calendar","conversion","gregorian","revised"],"homepage":"https://github.com/commenthol/date-bengali-revised","bugs":{"url":"https://github.com/commenthol/date-bengali-revised/issues"},"repository":{"type":"git","url":"git+https://github.com/commenthol/date-bengali-revised.git"},"license":"MIT","author":{"name":"commenthol","email":"commenthol@gmail.com"},"maintainers":[{"name":"anonymous","email":"commenthol@gmail.com"}],"type":"module","main":"./lib/index.cjs","exports":{".":{"import":"./src/index.js","require":"./lib/index.cjs"},"./package.json":"./package.json"},"typings":"./types","directories":{"lib":"lib","test":"test"},"scripts":{"all":"npm-run-all clean lint build test","build":"rollup -c","clean":"rimraf lib coverage .nyc_output","clean:all":"npm-run-all clean clean:node_modules","clean:node_modules":"rimraf node_modules","coverage":"c8 -r text -r html npm run test:ci","lint":"eslint \"**/*.js\"","prepublishOnly":"npm run all","readme":"markedpp --githubid -i README.md -o README.md","test":"npm-run-all test:ci test:ts","test:ci":"mocha","test:ts":"dtslint types"},"mocha":{"checkLeaks":true,"colors":true},"dependencies":{},"devDependencies":{"c8":"^7.5.0","dtslint":"^4.0.7","eslint":"^7.19.0","eslint-config-standard":"^16.0.2","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-standard":"^5.0.0","mocha":"^8.3.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.38.5","typescript":"^4.1.5"},"engines":{"node":">=12.0.0"},"readmeFilename":"README.md","gitHead":"aa361a0d57c49d997e05b57911cc0f00715e3440","_id":"date-bengali-revised@2.0.0-0","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"shasum":"2cf0c74fa26c5485e3907000b2df0e84715cffde","size":5808,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/date-bengali-revised/-/date-bengali-revised-2.0.0-0.tgz","integrity":"sha512-ubgryk6PF63d+PgRNW0PSxP71OdnRyV9ZZtVATUYwYEZL/SWyoTCW8ZT2ETZws+HJSo2hNfbUmfvdWi3t3UQhQ=="},"_npmUser":{"name":"anonymous","email":"commenthol@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-bengali-revised_2.0.0-0_1613234115750_0.5335931086580152"},"_hasShrinkwrap":false,"publish_time":1613234115878,"_cnpm_publish_time":1613234115878,"_cnpmcore_publish_time":"2021-12-17T12:01:57.730Z","contributors":[]},"1.0.2":{"name":"date-bengali-revised","version":"1.0.2","description":"Revised Bengali Calendar","keywords":["bengali","calendar","conversion","gregorian","revised"],"homepage":"https://github.com/commenthol/date-bengali-revised","bugs":{"url":"https://github.com/commenthol/date-bengali-revised/issues"},"repository":{"type":"git","url":"git+https://github.com/commenthol/date-bengali-revised.git"},"license":"MIT","author":{"name":"commenthol","email":"commenthol@gmail.com"},"main":"lib","directories":{"lib":"lib","test":"test"},"scripts":{"all":"npm-run-all clean lint build test","build":"babel -d lib src","build:es5":"BABEL_ENV=es5 babel -d es src","clean":"rimraf lib es coverage .nyc_output","clean:all":"npm-run-all clean clean:node_modules","clean:node_modules":"rimraf node_modules","coverage":"nyc -r text -r html npm test","lint":"eslint '**/*.js'","prepublishOnly":"npm run all","test":"mocha"},"dependencies":{},"devDependencies":{"@babel/cli":"^7.6.3","@babel/core":"^7.6.3","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-decorators":"^7.6.0","@babel/plugin-proposal-export-namespace-from":"^7.5.2","@babel/plugin-proposal-function-sent":"^7.5.0","@babel/plugin-proposal-json-strings":"^7.2.0","@babel/plugin-proposal-numeric-separator":"^7.2.0","@babel/plugin-proposal-throw-expressions":"^7.2.0","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-syntax-import-meta":"^7.2.0","@babel/preset-env":"^7.6.3","@babel/register":"^7.6.2","eslint":"^6.5.1","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^10.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","mocha":"^6.2.1","npm-run-all":"^4.1.5","nyc":"^14.1.1","rimraf":"^3.0.0"},"engines":{"node":">=6.0.0"},"maintainers":[{"name":"anonymous","email":"commenthol@gmail.com"}],"gitHead":"3c94a82205899394b547c4d78ebe95bf560a6711","_id":"date-bengali-revised@1.0.2","_nodeVersion":"12.10.0","_npmVersion":"6.11.3","dist":{"shasum":"33c7646e0988dade4ec8d44254abe71bc12db562","size":5950,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/date-bengali-revised/-/date-bengali-revised-1.0.2.tgz","integrity":"sha512-HehC0Kcjz+wgTSXAA/ei/Y4QPEg1nCYeZdrBl/o/o1B+iPycvipeTIhff9nXtQUY17nrXLunvOWTzqbR490m2w=="},"_npmUser":{"name":"anonymous","email":"commenthol@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-bengali-revised_1.0.2_1570649911027_0.7609714209451317"},"_hasShrinkwrap":false,"publish_time":1570649911187,"_cnpm_publish_time":1570649911187,"_cnpmcore_publish_time":"2021-12-17T12:01:58.111Z","contributors":[]},"1.0.1":{"name":"date-bengali-revised","version":"1.0.1","description":"Revised Bengali Calendar","keywords":["bengali","calendar","conversion","gregorian","revised"],"homepage":"https://github.com/commenthol/date-bengali-revised","bugs":{"url":"https://github.com/commenthol/date-bengali-revised/issues"},"repository":{"type":"git","url":"git+https://github.com/commenthol/date-bengali-revised.git"},"license":"MIT","author":{"name":"commenthol","email":"commenthol@gmail.com"},"main":"lib","directories":{"lib":"lib","test":"test"},"scripts":{"all":"npm-run-all clean lint build test","build":"babel -d lib src","build:es5":"BABEL_ENV=es5 babel -d es src","clean":"rimraf lib es coverage .nyc_output","clean:all":"npm-run-all clean clean:node_modules","clean:node_modules":"rimraf node_modules","coverage":"nyc -r text -r html npm test","lint":"eslint '**/*.js'","prepublishOnly":"npm run all","test":"mocha"},"dependencies":{},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-decorators":"^7.0.0","@babel/plugin-proposal-export-namespace-from":"^7.0.0","@babel/plugin-proposal-function-sent":"^7.0.0","@babel/plugin-proposal-json-strings":"^7.0.0","@babel/plugin-proposal-numeric-separator":"^7.0.0","@babel/plugin-proposal-throw-expressions":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-syntax-import-meta":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/register":"^7.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","mocha":"^6.0.2","npm-run-all":"^4.1.3","nyc":"^13.1.0","rimraf":"^2.6.2"},"engines":{"node":">=6.0.0"},"maintainers":[{"name":"anonymous","email":"commenthol@gmail.com"}],"gitHead":"52adcdb9ae8c20ba5650371f54b89ae06654d07d","_id":"date-bengali-revised@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"anonymous","email":"commenthol@gmail.com"},"dist":{"shasum":"7c5624f341b10ceeacaa711a71434b8362145b1a","size":5952,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/date-bengali-revised/-/date-bengali-revised-1.0.1.tgz","integrity":"sha512-ezme8Fq+z70DThLbNw+DJGyl2KHcrO+cJ7MA0rmhHrR0DFN+If300QkqSIYvDBd1LiCyHCMMi5WdHCqaW3b/uw=="},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-bengali-revised_1.0.1_1553942638682_0.25429035394467103"},"_hasShrinkwrap":false,"publish_time":1553942638805,"_cnpm_publish_time":1553942638805,"_cnpmcore_publish_time":"2021-12-17T12:01:58.443Z","contributors":[]},"1.0.0":{"name":"date-bengali-revised","version":"1.0.0","description":"Revised Bengali Calendar","keywords":["calendar","bengali","revised","conversion","gregorian"],"homepage":"https://github.com/commenthol/date-bengali-revised","bugs":{"url":"https://github.com/commenthol/date-bengali-revised/issues"},"license":"MIT","author":{"name":"commenthol","email":"commenthol@gmail.com"},"main":"lib","directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/commenthol/date-bengali-revised.git"},"scripts":{"all":"npm-run-all clean lint build test","build":"babel -d lib src","build:es5":"BABEL_ENV=es5 babel -d es src","clean":"rimraf lib es coverage .nyc_output","clean:all":"npm-run-all clean clean:modules","clean:modules":"rimraf node_modules","coverage":"nyc -r text -r html npm test","lint":"eslint '**/*.js'","prepublishOnly":"npm run all","test":"mocha"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-stage-2":"^6.24.1","babel-register":"^6.26.0","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.9.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.7.0","eslint-plugin-standard":"^3.0.1","mocha":"^5.0.5","npm-run-all":"^4.1.3","nyc":"^11.6.0","rimraf":"^2.6.2"},"engines":{"node":">=6.0.0"},"maintainers":[{"name":"anonymous","email":"commenthol@gmail.com"}],"gitHead":"d484ec872c82379e1e4bab3e1f7e2380fc223962","_id":"date-bengali-revised@1.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"anonymous","email":"commenthol@gmail.com"},"dist":{"shasum":"fee2bba871bb21207c6fcda02aa7fdf421859d3d","size":5834,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/date-bengali-revised/-/date-bengali-revised-1.0.0.tgz","integrity":"sha512-OImaaDhbNRXCL0iKeeb6K09TmPp8vgxhIYzCv1hXSG9MiYoZLfGky4V7QmGknMGOK+icJVOQg7C3UnTZ9/kpSA=="},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-bengali-revised_1.0.0_1535655877513_0.49902711781482"},"_hasShrinkwrap":false,"publish_time":1535655877660,"_cnpm_publish_time":1535655877660,"_cnpmcore_publish_time":"2021-12-17T12:01:58.760Z","contributors":[]},"2.0.2":{"name":"date-bengali-revised","version":"2.0.2","description":"Revised Bengali Calendar","keywords":["bengali","calendar","conversion","gregorian","revised"],"homepage":"https://github.com/commenthol/date-bengali-revised","bugs":{"url":"https://github.com/commenthol/date-bengali-revised/issues"},"repository":{"type":"git","url":"git+https://github.com/commenthol/date-bengali-revised.git"},"license":"MIT","author":{"name":"commenthol","email":"commenthol@gmail.com"},"maintainers":[{"name":"anonymous","email":"commenthol@gmail.com"}],"type":"module","exports":{".":{"import":"./src/index.js","require":"./lib/index.cjs"},"./package.json":"./package.json"},"main":"./lib/index.cjs","module":"./src/index.js","types":"./types","directories":{"lib":"lib","test":"test"},"scripts":{"all":"npm-run-all clean lint build test","build":"rollup -c","ci":"npm test","clean":"rimraf lib coverage .nyc_output","clean:all":"npm-run-all clean clean:node_modules","clean:node_modules":"rimraf node_modules","coverage":"c8 -r text -r html npm run test:ci","lint":"eslint --ext .js .","prepublishOnly":"npm run all","readme":"markedpp --githubid -i README.md -o README.md","test":"npm-run-all test:ci test:ts","test:ci":"mocha","test:ts":"dtslint types"},"mocha":{"checkLeaks":true,"colors":true},"devDependencies":{"c8":"^7.11.3","dtslint":"^4.2.1","eslint":"^8.16.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-n":"^15.2.0","eslint-plugin-promise":"^6.0.0","mocha":"^10.0.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.74.1","typescript":"^4.6.4"},"engines":{"node":">=12.0.0"},"gitHead":"89e8cfdd28ff6df5cee50af95c8c76687859fd20","_id":"date-bengali-revised@2.0.2","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-q9iDru4+TSA9k4zfm0CFHJj6nBsxP7AYgWC/qodK/i7oOIlj5K2z5IcQDtESfs/Qwqt/xJYaP86tkazd/vRptg==","shasum":"4de6cbb7501a99bb1b1795f9fa4cd72da06c7d23","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/date-bengali-revised/-/date-bengali-revised-2.0.2.tgz","fileCount":9,"unpackedSize":19202,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYZa2f2+SbX3F18wpctVlecR9Km8zoD+Eksn5YV8QDPAiEA4Co3aH7EF1+ZDVxQGvlEMIlkkfP2qpy4UnON9E2FfuA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiKSFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGWA//fs65czTHEaSoMRb6GLflA9FqXOe1wB0BP76u8SdVrsLMGQeb\r\nsPhKpb/kWl9TGdjecPDMkXw+kALO/cXA1sYO2X0wIxoVPJJneHcIb3xbEd/l\r\n7h6fOORKPPTtWoEv+bx0Z/F3V+U77GZkfAirqfz8gJUdD12YZPMsEsqyqcWQ\r\njDLLVFcLnQbg09dEVfliVKzs+BtOQEIgD7QnGr0JIneltWicfurO7KJl9R+b\r\nhahYIb1rhEvLAiIW2AY4CVfdK+ENkXXYNk0eFVBgGF4wJ7FGEa9Ck5alDrxm\r\nX7O1XufcCjuEfnDRZcuJgNIhPWbCzeD2MtWw2V0oEpcFukXnB3PlkZLlyWvO\r\ng9OAC3YilBiphLbwCC+XQyeAWSBJ3iOFLDWoCDShlgjegCHsQrnz6iXceWRX\r\nr9EklbVoPSPjJXLu02xZRaT3VxTfipSNOLts0z81/NCjDwvQ2fXU4Oj1DtHx\r\nLtPZxqfSF62e/WYP3eNTxi3obIrWoOa7sdBVEJ3dl0jM3TPMZgiXj2Gn8Rel\r\nEcEAGWQNP66plLwYk1Z5skaQk/iZL3LOX040ytSWGwGp1/kwSgofU63mD5YH\r\ny/ckRdVu783XqCzC6k3OBJDyLFH8dH/atahFVeE5jG74mBtuUzjftzYUwo70\r\ntpuC5DqgSJ8yO+UPUckmXBDKqT22TaRiQk4=\r\n=KIvb\r\n-----END PGP SIGNATURE-----\r\n","size":5414},"_npmUser":{"name":"anonymous","email":"commenthol@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-bengali-revised_2.0.2_1653122181164_0.6270930902064429"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-21T08:37:49.993Z","contributors":[]}},"dist-tags":{"latest":"2.0.2","next":"2.0.0-0"},"name":"date-bengali-revised","time":{"created":"2022-01-27T18:52:45.260Z","modified":"2022-05-21T08:37:54.196Z","2.0.1":"2021-05-22T08:05:54.577Z","2.0.0":"2021-03-27T09:58:18.918Z","2.0.0-0":"2021-02-13T16:35:15.878Z","1.0.2":"2019-10-09T19:38:31.187Z","1.0.1":"2019-03-30T10:43:58.805Z","1.0.0":"2018-08-30T19:04:37.660Z","2.0.2":"2022-05-21T08:36:21.377Z"},"readme":"# date-bengali-revised\n\n> Revised Bengali Calendar\n\n[![NPM version](https://badge.fury.io/js/date-bengali-revised.svg)](https://www.npmjs.com/package/date-bengali-revised/)\n[![Build Status](https://github.com/commenthol/date-bengali-revised/workflows/CI/badge.svg?branch=master&event=push)](https://github.com/commenthol/date-bengali-revised/actions/workflows/ci.yml?query=branch%3Amaster)\n\nRevised Bengali Calendar calculations with conversion from/ to Gregorian Date.  \nThe revised version of the Bengali calendar was officially adopted in Bangladesh in 1987.\n\nThe module supports:\n\n- conversion from Gregorian Date to Bengali Date and vice versa\n- conversion from javascript Date object to Bengali Date and vice versa\n- formatting\n\nCredits to Nuhil Mehdy for his project [bangla-calendar][].\nThe inital algorithm and the bengali names were taken from there. Thanks.\n\n## Table of Contents\n\n<!-- !toc (minlevel=2 omit=\"Table of Contents\") -->\n\n* [Usage](#usage)\n  * [Construct a new Bengali Date](#construct-a-new-bengali-date)\n  * [from Gregorian Date](#from-gregorian-date)\n  * [to Gregorian Date](#to-gregorian-date)\n  * [from Date](#from-date)\n  * [to Date](#to-date)\n  * [formatting](#formatting)\n* [Contribution and License Agreement](#contribution-and-license-agreement)\n* [License](#license)\n* [References](#references)\n\n<!-- toc! -->\n\n## Usage\n\n### Construct a new Bengali Date\n\n**Parameters**\n\n_year_: `{Number|String}`, bengali year in bengal or latin digits  \n_month_: `{Number|String}`, bengali month  \n_day_: `{Number|String}`, bengali day\n\n```js\n// ES5\nimport Calendar from 'date-bengali-revised'\n// CommonJs\nconst Calendar = require('date-bengali-revised').default\n\nlet cal = new Calendar(1425, 1, 1)\n//> { year: 1425, month: 1, day: 1}\n\n// with bengali digits\ncal = new Calendar('১৪২৫', '১', '১')\n//> { year: 1425, month: 1, day: 1}\n\n// with bengali month name\ncal = new Calendar('১৪২৫', 'বৈশাখ', '১')\n//> { year: 1425, month: 1, day: 1}\n```\n\n### from Gregorian Date\n\n**Parameters**\n\n_year_: `{Number}`, gregorian year  \n_month_: `{Number}`, gregorian month  \n_day_: `{Number}`, gregorian day\n\n**Returns**: _this_ for chaining\n\n```js\nimport Calendar from 'date-bengali-revised'\nlet cal = new Calendar()\ncal.fromGregorian(2018, 4, 14)\n//> { year: 1425, month: 1, day: 1}\n```\n\n### to Gregorian Date\n\nConvert Bengali Date back to Gregorian Date\n\n**Returns**: `{Object}` `{year, month, day}` as gregorian date\n\n```js\nlet cal = new Calendar(1425, 1, 1)\nlet gdate = cal.toGregorian()\n//> { year: 2018, month: 4, day: 14 }\n```\n\n### from Date\n\nCalculate bengali calendar date from javascript Date object\n\n**Parameters**\n\n_date_: `{Date}` - javascript Date object\n\n**Returns**: _this_ for chaining\n\n```js\nlet cal = new Calendar()\nlet date = new Date('2018-04-14T06:00:00Z')\ncal.fromDate(date)\n//> { year: 1425, month: 1, day: 1}\n```\n\n### to Date\n\n**Returns**: `{Date}` - javascript Date object\n\n```js\nlet cal = new Calendar(1425, 1, 1)\nlet date = cal.toDate(date).toISOString()\n//> '2018-04-14T06:00:00Z'\n```\n\n### formatting\n\n**Parameters**\n\n_formatStr_: `{String}` - formatting string\n\n| Input | Description  |\n| ----- | ------------ |\n| Y     | Year with any number of digits and sign |\n| Q     | Season Name  |\n| M     | Month number |\n| MMMM  | Month name   |\n| D     | Day of month |\n| dddd  | Day name     |\n\n**Returns**: `{String}` formatted date\n\n```js\nlet cal = new Calendar(1425, 1, 1)\ncal.format()\n//> '১ ১, ১৪২৫'\ncal.format('dddd D MMMM, Y [Q]')\n//> 'শনিবার ১ বৈশাখ, ১৪২৫ [গ্রীষ্ম]'\n```\n\n## Contribution and License Agreement\n\nIf you contribute code to this project, you are implicitly allowing your\ncode to be distributed under the MIT license. You are also implicitly\nverifying that all code is your original work or correctly attributed\nwith the source of its origin and License.\n\n## License\n\nCopyright (c) 2018-present commenthol (MIT License)\n\nSee [LICENSE][] for more info.\n\n## References\n\n<!-- !ref -->\n\n* [bangla-calendar][bangla-calendar]\n* [LICENSE][LICENSE]\n\n<!-- ref! -->\n\n[LICENSE]: ./LICENSE\n[bangla-calendar]: https://github.com/nuhil/bangla-calendar","users":{}}