{"_id":"ics-browser-gen","_rev":"1-5af45989dabf2b4f49fef9fc80e29145","name":"ics-browser-gen","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.3":{"name":"ics-browser-gen","version":"0.1.3","description":"A browser firendly .ics/.vcs file generator written entirely in javascript","main":"ics.js","dependencies":{"bower":"~1.2.8","file-saver":"^1.3.3","grunt":"~0.4.2","grunt-contrib-concat":"~0.3.0","grunt-contrib-jshint":"~0.7.2","grunt-contrib-uglify":"~0.2.7","grunt-mocha":"~0.4.6"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/nwcell/ics.js.git"},"keywords":["ics","iCal","iCalendar"],"contributors":[{"name":"Travis Krause","email":"travis@codeforemen.com"},{"name":"Kyle Hornberg","email":"kyle.hornberg@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/nwcell/ics.js/issues"},"gitHead":"7551bb1260c031071f8348e2342db2aeb7754524","homepage":"https://github.com/nwcell/ics.js#readme","_id":"ics-browser-gen@0.1.3","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-079lA8MYjWocMMY/M1GaerQsvruj4VSyVIFNS5pjpkFGZT7sK994y2mgF/0kqPVKrbSaxTENvxzhuUMVkhjS/Q==","shasum":"00f2948654e78ef8b02da07bf18b3d364f2a7ab7","tarball":"https://registry.npmjs.org/ics-browser-gen/-/ics-browser-gen-0.1.3.tgz","fileCount":19,"unpackedSize":273853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3zLDCRA9TVsSAnZWagAAWKMQAI6BpEvaSwUoe80b1kGL\nolRKaMUwfUalsihu3oqgjUdu+h6JSNy1xumwSTzIZRfWFszLOm4Kr4uH9dRy\nsGnEmhoJ87GA5FHTmcM1Ij0RXE1FzZdIGC9MbwgGgUguCXgHr5lvyOwEGOiq\nd4KwDtjLMSpzPJKoiMKTOgxgZZQpcH2BFlHrBnoEfLgqdRTHOpCIvacnTxxJ\n+P65k3WaytYLWzB/Hz9d+mb8AtgQj0m0Nph0bCFOynA2KtiNJYMjdnj0KjAf\nu2t/HGhM9fS2h6p2KeOLcUOY99vRcS4X0cy2THf4UOX214g2rKAK+ZHk4VnD\noDHkbfNvdMSaCgMYB5MKjQfcMUCs7BbD7/V6OZO7c6YiLa52VGryvbq9OHav\neWpK5XT7wt/Xs61/FFpWnKRknx7LYrM1EmGW5RP0uP9HYHoLDWtl14kjDw1r\nliwkV51HXg72V/dxvlpsF02Gw1bmo3Uxy0eeWTP27i3gxGB+rQg+6ICPFKnP\n+Lbgpt4G+oRJg3KXsJ498W3mhfs5I71EoxaBTd5xPMQ5tnRH58/cwuARHcUn\nsw/GHzdfnrCJuU26rtvr1PpOBqEMgPU3z3tC9aNnsydgpvWBdiUDQWAJ4Y7A\n5CseMj9QlWicwWVJfprB+crwhrVbtEUMX1iq2zoDKD6bQQcH2a7/zq2RdqjA\nIem5\r\n=Daf1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDV6k9juBzFuWiTK6hf0wYOlDsc/o55mo85bq7yZl93QIhANAejySq7drasBHrDicDE2jNy44yinCEv2L7I88ixkCv"}]},"maintainers":[{"name":"starcraft0429","email":"starcraft0429@hotmail.com"}],"_npmUser":{"name":"starcraft0429","email":"starcraft0429@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ics-browser-gen_0.1.3_1574908611049_0.017259314626140387"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-28T02:36:51.049Z","0.1.3":"2019-11-28T02:36:51.153Z","modified":"2022-05-05T15:10:45.675Z"},"maintainers":[{"name":"starcraft0429","email":"starcraft0429@hotmail.com"}],"description":"A browser firendly .ics/.vcs file generator written entirely in javascript","homepage":"https://github.com/nwcell/ics.js#readme","keywords":["ics","iCal","iCalendar"],"repository":{"type":"git","url":"git+https://github.com/nwcell/ics.js.git"},"contributors":[{"name":"Travis Krause","email":"travis@codeforemen.com"},{"name":"Kyle Hornberg","email":"kyle.hornberg@gmail.com"}],"bugs":{"url":"https://github.com/nwcell/ics.js/issues"},"license":"MIT","readme":"ics.js\n============\n\nA browser friendly .ics/.vcs file generator written entirely in JavaScript!\n\nNow you can make calendar friendly files client-side.  It outputs .ics files, so the files are compatible with all modern calendar software (Outlook, Apple Calendar, Google, etc.)\n\nHow To Use\n----------\nSimply use invoke the object and use the functions...\n\n\tvar cal = ics();\n\tcal.addEvent(subject, description, location, begin, end);\n\tcal.addEvent(subject, description, location, begin, end); // yes, you can have multiple events :-)\n    cal.download(filename);\n\n`begin` and `end` need to be formatted in a way that is friendly to `Date()`\n\n\nRecurring Events\n----------------\nRecurring events can be added with the `rrule` object.\n\n`cal.addEvent(subject, description, location, begin, end, rrule)`\n\nThe `rrule` object has the following properties:\n\n- `freq` : __Required.__ The frequency of event recurrence. Can be `DAILY`, `WEEKLY`, `MONTHLY`, or `YEARLY`.\n- `until` : A date string representing the date on which to end repitition.  Must be friendly to `Date()`\n- `count` : Alternative to until.  Repeat the event `count` times.  Must be an integer\n- `interval` : The interval of `freq` to recur at.  For example, if `freq` is `WEEKLY` and `interval` is `2`, the event will repeat every 2 weeks.  Must be an integer.\n- `byday` : Which days of the week the event is to occur. An array containing any of `SU`, `MO`, `TU`, `WE`, `TH`, `FR`, `SA`.\n\nThe four properties described above are not exhaustive of recurrence rule capabilities.  If extra functionality is required, you can set the `rrule.rule` property to a full recurrence rule string.  In this case, none of the four properties described above are necessary.  See [this page](http://www.kanzaki.com/docs/ical/rrule.html) for a description of recurrence rules.\n\n\nExample\n-------\n* **[Demo](https://rawgit.com/nwcell/ics.js/master/demo/demo.html)**\n\n```\n<script>\n\tvar cal = ics();\n\tcal.addEvent('Demo Event', 'This is an all day event', 'Nome, AK', '8/7/2013', '8/7/2013');\n\tcal.addEvent('Demo Event', 'This is thirty minute event', 'Nome, AK', '8/7/2013 5:30 pm', '8/7/2013 6:00 pm');\n</script>\n<a href=\"javascript:cal.download()\">Demo</a>\n```\n\n\nDependencies\n------------\nThe tool uses 2 libraries from the following projects:\n* [FileSaver.js](https://github.com/eligrey/FileSaver.js)\n* [Blob.js](https://github.com/eligrey/Blob.js)\n\nI've compressed them and included them into the source for the normal file.  Other variations are available in the repo.\n\nIf you want IE to allow for either opening documents as well as saving documents, you can use my fork of FileSaver.js (https://github.com/nwcell/FileSaver.js)...  Though you honestly are probebly best off using their main.\n\nSupported Browsers\n------------------\n\n| Browser        | Dependancies |\n| -------------- | ------------ |\n| Firefox 20+    | [FileSaver.js](https://github.com/eligrey/FileSaver.js) |\n| Firefox ≤ 19   | [FileSaver.js](https://github.com/eligrey/FileSaver.js), [Blob.js](https://github.com/eligrey/Blob.js) |\n| Chrome         | [FileSaver.js](https://github.com/eligrey/FileSaver.js) |\n| Chrome for Android v28+ | [FileSaver.js](https://github.com/eligrey/FileSaver.js) |\n| IE 10+         | [FileSaver.js](https://github.com/eligrey/FileSaver.js)         |\n| Opera Next     | [FileSaver.js](https://github.com/eligrey/FileSaver.js) |\n| Opera < 15     | [FileSaver.js](https://github.com/eligrey/FileSaver.js), [Blob.js](https://github.com/eligrey/Blob.js) |\n| Safari ≤ 6     | [FileSaver.js](https://github.com/eligrey/FileSaver.js), [Blob.js](https://github.com/eligrey/Blob.js) |\n\n\nCredits\n------------------\n* [Travis Krause](https://github.com/nwcell): Me\n* [Kyle Hornberg](https://github.com/khornberg): Added multi event functionality and made everything a package firendly\n","readmeFilename":"README.md"}