{"_id":"mailto-parser","_rev":"8-9fb1ab80bb52b7f6752d5487e2f85aec","name":"mailto-parser","description":"Module that has utilities for MailTo parsing","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"mailto-parser","description":"Module that has utilities for MailTo parsing","version":"1.0.0","author":{"name":"Stuart Hudson","email":"goulash1971@gmail.com"},"keywords":["mailto","parser"],"homepage":"https://github.com/goulash1971/mailto-parser","contributors":[{"name":"Stuart Hudson","email":"goulash1971@gmail.com","url":"http://goulash1971.com/"}],"scripts":{"test":"make test"},"directories":{"lib":"lib/","test":"tests/"},"main":"./index","engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/goulash1971/mailto-parser.git"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"dependencies":{},"devDependencies":{},"_id":"mailto-parser@1.0.0","_engineSupported":true,"_npmVersion":"1.0.3","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"ff4121c2ce11aba06b01abe769b93bb8dc3a0e15","tarball":"https://registry.npmjs.org/mailto-parser/-/mailto-parser-1.0.0.tgz","integrity":"sha512-7iIxze7nT86xo8QpDzp/sO6ROLXyIw3G9xBmHEiv9vwZgNHiMeih+ctRxpHjimvlUL6Fi/UeY/C4QSNOwkE00g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIu8GnEC8VBT+5OVIorH05Qd0GJFi1/4GsTvRRCRMkWQIhAKL4eFDYynwJuparXNXblw3cU4QV7vEZRvqj4E7Ol/NP"}]}},"1.0.1":{"name":"mailto-parser","description":"Module that has utilities for MailTo parsing","version":"1.0.1","author":{"name":"Stuart Hudson","email":"goulash1971@gmail.com"},"keywords":["mailto","parser"],"homepage":"https://github.com/goulash1971/mailto-parser","contributors":[{"name":"Stuart Hudson","email":"goulash1971@gmail.com","url":"http://goulash1971.com/"}],"scripts":{"test":"make test"},"directories":{"lib":"lib/","test":"tests/"},"main":"./index","engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/goulash1971/mailto-parser.git"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"gitHead":"b3fd6c7ad3d3c2f15504e3c8767862ceb7d9b2fd","bugs":{"url":"https://github.com/goulash1971/mailto-parser/issues"},"_id":"mailto-parser@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"goulash1971","email":"goulash1971@gmail.com"},"dist":{"integrity":"sha512-igDk6+DKyI111wp88PJgtQLXVRiihZSzF9/kBpNXol46h/LiHF+0xDD0lFii0RA4YBDlRX4727utLAqnhPJhUg==","shasum":"51ffe6ce76a44ea75ff81e0e133ba7d5e5f23575","tarball":"https://registry.npmjs.org/mailto-parser/-/mailto-parser-1.0.1.tgz","fileCount":8,"unpackedSize":10311,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1sinFP1QivnuaEHRZHxPvL5ThEWXHmWvn4IlnEfw7oQIhAJzO+9xdqo++3gM3wjp9zCL1tgLs4S8MAQQ8Vvljvna2"}]},"maintainers":[{"email":"goulash1971@gmail.com","name":"goulash1971"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mailto-parser_1.0.1_1520929189208_0.35180587118773565"},"_hasShrinkwrap":false}},"maintainers":[{"email":"goulash1971@gmail.com","name":"goulash1971"}],"time":{"modified":"2022-06-19T15:28:50.740Z","created":"2011-06-27T06:32:08.226Z","1.0.0":"2011-06-27T06:32:09.457Z","1.0.1":"2018-03-13T08:19:49.309Z"},"author":{"name":"Stuart Hudson","email":"goulash1971@gmail.com"},"repository":{"type":"git","url":"git://github.com/goulash1971/mailto-parser.git"},"homepage":"https://github.com/goulash1971/mailto-parser","keywords":["mailto","parser"],"contributors":[{"name":"Stuart Hudson","email":"goulash1971@gmail.com","url":"http://goulash1971.com/"}],"readme":"mail-parser - Module for MailTo parsing\n===========\n\n### Overview\n\nMailTo-Parser is a module that provides functions for parsing `mailto:` URLs that is loosly based upon the standard \n`url` module within `node`.  Parsing is derived from the **excellent** `parseUri` function by \n[Steven Levithan](http://stevenlevithan.com), but stripped down for the `mailto` scheme.\n\n#### What's a `mailto:` URL?\n\nThe best place to start if you want to know more about `mailto:` UTRLs (of course) the wikipedia article on\n[MailTo](http://en.wikipedia.org/wiki/Mailto) and [MailTo Syntax](http://www.ianr.unl.edu/internet/mailto.html).\n\n### Installation\n\tnpm install mailto-parser\n\n### Using the Module\nThe 'mailto-parser' module is accessed in the standard way by calling `require(\"mailto-parser\");` and once loaded \nyou have access to the following objects and functions.\n\n#### Class `mailto-parser.Parser`\nThe `Parser` class is a wrapper object class that provides access to an object that can be \nused to parse `mailto:` instances.\n\nThis class has the following interface:\n\n##### Constructor `Parser(options)`\nCreates a new instance with the specified options\n\n##### Method `Parser.parse(mailtoStr, strictMode)`\nParses an MailTo into components (optionally in *strict* mode)\n\n##### Method `Parser.complete(obj)`\nCreates a *complete* MailTo definition from its components\n\n##### Method `Parser.format(obj)`\nFormats an MailTo definition into a well-formed MailTo string\n\n#### Function `mailto-parser.parse`\nThe `parse` function is a proxy to the `Parser.parse(mailtoStr, strictMode)` method on a singleton `Parser`\ninstance that is created for the module.\n\n#### Function `mailto-parser.complete`\nThe `complete` function is a proxy to the `Parser.complete(obj)` method on a singleton `Parser`\ninstance that is created for the module.\n\n#### Function `mailto-parser.format`\nThe `format` function is a proxy to the `Parser.format(obj)` method on a singleton `Parser`\ninstance that is created for the module.\n\n### Contributors\n- [Stuart Hudson](https://github.com/goulash1971)\n\n### License\nMIT License\n\n### Acknowledgements\n- [Steven Levithan](http://stevenlevithan.com) for the `parseUri` function that is the basis of this module\n\n---\n### Author\nStuart Hudson\t\t \n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/goulash1971/mailto-parser/issues"}}