{"_id":"@amanda-hg/date-formats","_rev":"1-9f13cfa63158baa5961514ad0ad164ff","name":"@amanda-hg/date-formats","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@amanda-hg/date-formats","version":"1.0.1","description":"An awesome module that retrieves a date with whatever format you give it","main":"index.js","scripts":{"start":"node index.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/amanda-hg/date-formats.git"},"author":{"name":"amanda-hg"},"license":"ISC","bugs":{"url":"https://github.com/amanda-hg/date-formats/issues"},"homepage":"https://github.com/amanda-hg/date-formats#readme","dependencies":{},"devDependencies":{},"gitHead":"b7dc1942a3bc1cecaa3f71f6af2e31139729e711","_id":"@amanda-hg/date-formats@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"amanda-hg","email":"amandahergo26@gmail.com"},"dist":{"integrity":"sha512-RW+2aM6Q8M6RBEuBQe6Fmo+YIkuS3fewUZyLrdIetLjyHP1sHkeC6J/Q6bq6RWK0/VGV5xdZZkI7LL3GsOx+Ew==","shasum":"164e1a9b96fa19d0b3b070ef0786e794ffd68516","tarball":"https://registry.npmjs.org/@amanda-hg/date-formats/-/date-formats-1.0.1.tgz","fileCount":6,"unpackedSize":4056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDrEmCRA9TVsSAnZWagAAIjoP+wTL5jkLNiitrWQEV88P\nomoZt/nX24imamkvuH71iUx2c3hSyMqAZjzOU3mO0hfnZcz4fT26w7PLXUmy\nHTjCWDSuBT17chN0lt1SQmKyqSVL0jZCV5+uwiYURE3PQ9HiqiN9KGHyZt7/\n423zpjN/q4EXl/cRa8ASqW/vI5qSZr1FXPwgXFdP3kwkntuj4ERJKNZ3sAPY\n0CRUb0vRZA7bMdVvwJw5hr4UrxfVqQ8tJp/rBi/u6QYv2suV2RYmi7jfh3A4\natWYZ+0suxQTvD9dY4rlJgq+oQROVLIn+uYttLVHWcFwsJnnDijI7wxQkH+1\nRoTK18eZdN+E4IKhMKjYHV3sAZdr0VmSdgLMYeypBRr0Y8fOjkiw7GA12cXR\nZ1wyWN6VUkZ5ZxFhdKmHabds+dQ1w6iPyrU7yBfGW0IRYMSgHM00dywv7heZ\nJZdzLxmzuoX28cC9ZXmcG1cJSgYy7Bpl8ysEDl7hF3yG2D3BCY1UlOQHnrtj\nT8CFgEZTZau6OvHmznsuN4ImJnnjlgAOWMzEEVjTTGSZFVhtbqMuc0nYGdt7\nrnk35OQgKKVRnRuQHhTCjRaK29Ft1CN9zvlIf7Y5SrPKErHiOiAzHNnyEovq\n1t2cB/dBdNBLkQLYOZY7jNGYYLEDIouT6uz9dGrubCksQv5+reBPpjG4k29U\nUOQ9\r\n=6LXs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKK/n/GmQXRasGryBxkicqwCbtPKl51afFbwPJ/g652AiAqKV8EjB0u5JIDG4X6gmuPOQRsUE0CmTu0xXfBqsHl0w=="}]},"maintainers":[{"name":"amanda-hg","email":"amandahergo26@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-formats_1.0.1_1544466725837_0.3013201962315766"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-10T18:32:05.668Z","1.0.1":"2018-12-10T18:32:05.933Z","modified":"2022-04-04T13:43:23.016Z"},"maintainers":[{"name":"amanda-hg","email":"amandahergo26@gmail.com"}],"description":"An awesome module that retrieves a date with whatever format you give it","homepage":"https://github.com/amanda-hg/date-formats#readme","repository":{"type":"git","url":"git+https://github.com/amanda-hg/date-formats.git"},"author":{"name":"amanda-hg"},"bugs":{"url":"https://github.com/amanda-hg/date-formats/issues"},"license":"ISC","readme":"# date-formats\r\n\r\nThis module returns a date format. You can write the format you want and it returns the date.\r\n\r\n# Usage\r\n\r\nJust require the module like any other npm module \r\n```js\r\nconst date = require('date-formats');\r\n```\r\n\r\n# Methods\r\n\r\nThis module has one method:\r\n\r\n- format: returns a date with the format date which one the user pass by param.\r\n\r\n# Example\r\n## format\r\nInput:\r\n```js\r\nconst date = require('date-formats');\r\n\r\nconst dateFormat1 = date.format('DD-MM-YYYY');\r\nconsole.log(dateFormat1);\r\n\r\nconst dateFormat2 = date.format('YYYY/MM/DD');\r\nconsole.log(dateFormat2);\r\n```\r\nOutput:\r\n```js\r\n01-11-1999\r\n\r\n1999/11/01\r\n```","readmeFilename":"README.md"}