{"_id":"calendar","_rev":"15-e7eedcd731821193fb738a107f5d2c71","name":"calendar","description":"calendar generator","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"calendar","main":"./lib/calendar.js","description":"calendar generator","version":"0.1.0","repository":{"type":"git","url":"git://github.com/ramalho/calendar.js.git"},"author":{"name":"Luciano Ramalho","email":"luciano@ramalho.org","url":"http://turing.com.br"},"_npmUser":{"name":"ramalho","email":"luciano@ramalho.org"},"_id":"calendar@0.1.0","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"7e205fc6d7b5c24d7f76b2c35605bb9c2863680d","tarball":"https://registry.npmjs.org/calendar/-/calendar-0.1.0.tgz","integrity":"sha512-XLbazkBqROihKuOjC8wJ4eBKX+SgvcS/wNDmXnVLQrg0nuUBOdKsul3gBmVJECm4fSvkBJnFPjY//O6UyZKWRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmGz4NlyCCio3vifmSPG5EKc1VeG6qYM+uM66Jl2eovAiAectr08ONH+IsENwvHbbII6PtSHFQ1J3hyGHBgH7SVxQ=="}]},"maintainers":[{"name":"ramalho","email":"luciano@ramalho.org"}],"directories":{}},"0.1.1":{"name":"calendar","main":"./lib/calendar.js","description":"calendar generator","version":"0.1.1","repository":{"type":"git","url":"git://github.com/ramalho/calendar.js.git"},"author":{"name":"Luciano Ramalho","email":"luciano@ramalho.org","url":"http://standupdev.com"},"license":"MIT","gitHead":"3e6e62e4c513dd24814e24173ac5cc5ba8e241cf","bugs":{"url":"https://github.com/ramalho/calendar.js/issues"},"homepage":"https://github.com/ramalho/calendar.js#readme","_id":"calendar@0.1.1","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-CExn+MxSU1pCsjYiS+Cx8d1MtIZqezxRhpIu8odr1oqvYG/0C1m8lvehHxTl1FslgKbOD7Z5QuEcyk8sGgpZLQ==","shasum":"4678dbf192c516690f6cde20bb476140fd817463","tarball":"https://registry.npmjs.org/calendar/-/calendar-0.1.1.tgz","fileCount":16,"unpackedSize":355015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwHL8CRA9TVsSAnZWagAAs5wP/3+qPL1xPihWfkq1up9P\nJQLzmv9kAybUxUWsFfUy62b8ChIn4ex18IAfSRVIoo2WwuD1XfHBFD/5mGPv\ntTXtcXPWZ/eK2i17emjZx9nexw8cMXowUWTjDMQDFm/EjM/hmk1pTHlqsbcx\npJA2c0KXGA6Z8rH8ITFvQjRNutHKUzYTmMIiqK7HmEZkXLHcRFKmC4JUhoBH\ntdn78P6w95moanUTG6dRwfHXA5lt1Gtyj6c9PfaS8LmlXwLB1TvCdKuFe886\nZUhAxxYLBk6Ja5FFVlQsAQ3v4fvXm8cWqrD1+xw67VzooULJmWkFmI5SUMHD\nVArLTu+M/iBOuNE6CXekeQxnM2lL2+/8G1zo+sPiOrcjOD+IYJjLhNFNz+AV\nxBnKrnGGJ0d1JmeNHDvPQQyqS2AgN4k6YQsMgue32IHgMNCbsVx3GOu4OMrQ\nq0rj4/6QbWPkcP5bBLVtKErjCpLcZ2vpL+ZEhng48j40ZNy5hTTVrMRpla2u\nxtUB009/8w9aAIbGhYCGvd0tBQCW7qepKDvpxPsAFysPx9SbvDXJ4MO+z95A\nHsw+uaPEJC+VhZA71PtJ3hO+FWt90lF5U5TE4N4JRbRAxrxfWt5V8nCWzWqM\nSpMneQomIIQ4/3QObsBD5gyuoZ3RIA3Qy5pXL+hxNrWi4cKKVxpDFK7oV4h6\nGein\r\n=y3Id\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoARNcC5lbYyD5ZoB7UDxNIKEbEYglW/e5ibFekU8sRQIgOpghFQAzAOL3bVtCH1Cdwr+psEQXbkFYHBLB1xuecuk="}]},"maintainers":[{"name":"ramalho","email":"luciano@ramalho.org"}],"_npmUser":{"name":"ramalho","email":"luciano@ramalho.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/calendar_0.1.1_1572893435755_0.0545531011228062"},"_hasShrinkwrap":false}},"readme":"calendar.js\n============\n\nFunctions inspired by the calendar module from the Python standard library.\n\nThe `monthDates` function builds an array of weeks to display one month,\nstarting on Sunday (default) or Monday. Each week is an array of seven Date\ninstances, including dates from the month before or after, as needed to fill\nthe first and last weeks.\n\nOptional formatting functions may be passed as third and fourth arguments:\none to format each date, the other to format each week.\n\n    > cal = new c.Calendar();               // weeks start on Sunday by default\n    > m = cal.monthDates(2012,0,            // January is 0 in JS Date\n    ...   function(d) {return (' '+d.getDate()).slice(-2)}, \n    ...   function(w) {return w.join(' | ')}\n    );\n    > for (i=0; i<m.length; i++) console.log(m[i]);\n     1 |  2 |  3 |  4 |  5 |  6 |  7\n     8 |  9 | 10 | 11 | 12 | 13 | 14\n    15 | 16 | 17 | 18 | 19 | 20 | 21\n    22 | 23 | 24 | 25 | 26 | 27 | 28\n    29 | 30 | 31 |  1 |  2 |  3 |  4\n\nThe `monthDays` function calls `monthDates` passing a simple function which\nreturns the day number from a date, or zero if the date does not belong to the\nmonth.\n\n    > cal = new Calendar(1);               // weeks starting on Monday\n    > m = cal.monthDays(2012, 1);\n    > for (i=0; i<m.length; i++) console.log(m[i]);\n    [0, 0, 1, 2, 3, 4, 5]\n    [6, 7, 8, 9, 10, 11, 12]\n    [13, 14, 15, 16, 17, 18, 19]\n    [20, 21, 22, 23, 24, 25, 26]\n    [27, 28, 29, 0, 0, 0, 0]\n","maintainers":[{"name":"ramalho","email":"luciano@ramalho.org"}],"time":{"modified":"2023-11-07T05:03:45.757Z","created":"2011-12-28T00:43:08.254Z","0.1.0":"2011-12-28T00:43:11.107Z","0.1.1":"2019-11-04T18:50:35.944Z"},"author":{"name":"Luciano Ramalho","email":"luciano@ramalho.org","url":"http://standupdev.com"},"repository":{"type":"git","url":"git://github.com/ramalho/calendar.js.git"},"users":{"program247365":true,"theaklair":true,"alexperegrina":true,"ackhub":true},"homepage":"https://github.com/ramalho/calendar.js#readme","bugs":{"url":"https://github.com/ramalho/calendar.js/issues"},"license":"MIT","readmeFilename":"README.md"}