{"_id":"@aierse/date-format","name":"@aierse/date-format","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aierse/date-format","version":"1.0.0","description":"Formatting Date objects as strings","author":{"name":"Aierse","email":"dbsgur2008@gmail.com"},"main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Aierse/aierse-date-format.git"},"bugs":{"url":"https://github.com/Aierse/aierse-date-format/issues"},"license":"MIT","keywords":["date","format","string","time","yyyy","yyyy-MM","yyyy-MM-dd","hh:mm","hh:mm:ss"],"gitHead":"d00c4dd3fd7513be64f9576a62c961fa1b8e7ded","homepage":"https://github.com/Aierse/aierse-date-format#readme","_id":"@aierse/date-format@1.0.0","_nodeVersion":"20.3.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-VkjU14N0P1AzgzQIHzF5fTjl4/PvRYABvMvJoQrIvoItxsKSu7tqI8DTx+z9MODwdzqdqmCzuMg1oN0fEJAyPA==","shasum":"20f25f2c90d8e0d03877ced5376e18cff1ae6ef2","tarball":"https://registry.npmjs.org/@aierse/date-format/-/date-format-1.0.0.tgz","fileCount":4,"unpackedSize":3832,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmyF0O03jSwd/FotJExfYA9rDQa0L8dTY0bHutCn7DWAiEAz4ewOl6fs7Dzj4FYcYxqwUpuIug2VPt4ckBeyQHkFEw="}]},"_npmUser":{"name":"aierse","email":"dbsgur2008@gmail.com"},"directories":{},"maintainers":[{"name":"aierse","email":"dbsgur2008@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-format_1.0.0_1694654576836_0.2035232612962301"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-14T01:22:56.711Z","1.0.0":"2023-09-14T01:22:57.043Z","modified":"2023-09-14T01:22:57.343Z"},"maintainers":[{"name":"aierse","email":"dbsgur2008@gmail.com"}],"description":"Formatting Date objects as strings","homepage":"https://github.com/Aierse/aierse-date-format#readme","keywords":["date","format","string","time","yyyy","yyyy-MM","yyyy-MM-dd","hh:mm","hh:mm:ss"],"repository":{"type":"git","url":"git+https://github.com/Aierse/aierse-date-format.git"},"author":{"name":"Aierse","email":"dbsgur2008@gmail.com"},"bugs":{"url":"https://github.com/Aierse/aierse-date-format/issues"},"license":"MIT","readme":"# date-format\n\nthat formatting Date objects as strings\n\n# Installation\n\n> npm i aierse-date-format\n\n# Usage\n\n> Do not use the spacebar as a separator.\n> Use the space bar to separate dates and times.\n\n```js\nimport dateFormat from \"aierse-date-format\";\n\nconst now = new Date(\"2023-09-14 12:20:30\");\n\nconst type1 = dateFormat(now); // 2023-09-14\nconst type2 = dateFormat(now, \"yyyy\"); // 2023\nconst type3 = dateFormat(now, \"yyyy/MM/dd\"); // 2023/09/14\nconst type4 = dateFormat(now, \"MM-dd-yyyy\"); // 09-14-2023\nconst type1 = dateFormat(now, \"M-d-yyyy\"); // 9-14-2023\nconst type1 = dateFormat(now, \"yyyy-MM-dd hh:mm:ss\"); // 2023-09-14 12:20:30\nconst type1 = dateFormat(now, \"hh:mm\"); // 12:20\n```\n","readmeFilename":"README.md"}