{"maintainers":[{"name":"anonymous","email":"andris@kreata.ee"}],"keywords":["quoted-printable","mime"],"dist-tags":{"latest":"2.1.1"},"author":{"name":"Andris Reinman"},"description":"Encode and decode quoted-printable strings according to rfc2045","readme":"# libqp\n\nEncode and decode quoted-printable strings according to [RFC2045](http://tools.ietf.org/html/rfc2045#section-6.7).\n\n## Usage\n\nInstall with npm\n\n```\nnpm install libqp\n```\n\nRequire in your script\n\n```javascript\nconst libqp = require('libqp');\n```\n\n### Encode values\n\nEncode Buffer objects or unicode strings with\n\n```\nlibqp.encode(val) → String\n```\n\nWhere\n\n-   **val** is a Buffer or an unicode string\n\n**Example**\n\n```javascript\nlibqp.encode('jõgeva');\n// j=C3=B5geva\n```\n\n### Wrap encoded values\n\nQuoted-Printable encoded lines are limited to 76 characters but `encode` method might return lines longer than the limit.\n\nTo enforce soft line breaks on lines longer than 76 (or any other length) characters, use `wrap`\n\n```\nlibqp.wrap(str[, lineLength]) → String\n```\n\nWhere\n\n-   **str** is a Quoted-Printable encoded string\n-   **lineLength** (defaults to 76) is the maximum allowed line length. Any longer line will be soft wrapped\n\n**Example**\n\n```javascript\nlibqp.wrap('abc j=C3=B5geva', 10);\n// abc j=\\r\\n\n// =C3=B5geva\n```\n\n### Transform Streams\n\n`libqp` makes it possible to encode and decode streams with `libqp.Encoder` and `libqp.Decoder` constructors.\n\n### Encoder Stream\n\nCreate new Encoder Stream with\n\n```\nconst encoder = new libqp.Encoder([options])\n```\n\nWhere\n\n-   **options** is the optional stream options object with an additional option `lineLength` if you want to use any other line length than the default 76 characters (or set to `false` to turn the soft wrapping off completely)\n\n**Example**\n\nThe following example script reads in a file, encodes it to Quoted-Printable and saves the output to a file.\n\n```javascript\nvar libqp = require('libqp');\nvar fs = require('fs');\nvar source = fs.createReadStream('source.txt');\nvar encoded = fs.createReadStream('encoded.txt');\nvar encoder = new libqp.Encoder();\n\nsource.pipe(encoder).pipe(encoded);\n```\n\n### Decoder Stream\n\nCreate new Decoder Stream with\n\n```\nconst decoder = new libqp.Decoder([options])\n```\n\nWhere\n\n-   **options** is the optional stream options object\n\n**Example**\n\nThe following example script reads in a file in Quoted-Printable encoding, decodes it and saves the output to a file.\n\n```javascript\nconst libqp = require('libqp');\nconst fs = require('fs');\nlet encoded = fs.createReadStream('encoded.txt');\nlet dest = fs.createReadStream('dest.txt');\nlet decoder = new libqp.Decoder();\n\nencoded.pipe(decoder).pipe(dest);\n```\n\n## License\n\n**MIT**\n","repository":{"type":"git","url":"git://github.com/nodemailer/libqp.git"},"users":{"mojaray2k":true},"bugs":{"url":"https://github.com/nodemailer/libqp/issues"},"license":"MIT","versions":{"0.1.0":{"name":"libqp","version":"0.1.0","keywords":["quoted-printable","mime"],"author":{"name":"Andris Reinman"},"license":"MIT","_id":"libqp@0.1.0","maintainers":[{"name":"anonymous","email":"andris@node.ee"}],"homepage":"https://github.com/andris9/libqp","bugs":{"url":"https://github.com/andris9/libqp/issues"},"dist":{"shasum":"b3df017ec233a1549b8338cdef9797a65403612b","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/libqp/-/libqp-0.1.0.tgz","integrity":"sha512-ZWvfk6XlVtxt3OMyRyXIK90yDj5e5l3JF9j/z1IhJIriR58CxeBkRrlnJjh6XiPcmjrtjFb3bTn3GDFXQmOVrg==","signatures":[{"sig":"MEUCIQDuUT/6TuImI/oujjRqfaZQXUP92tJGkE5lc8QzTrDutgIgfI73zP+kaWIbu5fC0+Yo6EegmF3zblZ7/k3pDACWyiY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/libqp.js","_from":".","scripts":{"test":"grunt"},"_npmUser":{"name":"anonymous","email":"andris@node.ee"},"repository":{"url":"git://github.com/andris9/libqp.git","type":"git"},"_npmVersion":"1.4.3","description":"Encode and decode quoted-printable strings according to rfc2045","directories":{},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-test":"~0.10.0","grunt-contrib-jshint":"~0.8.0"}},"0.1.1":{"name":"libqp","version":"0.1.1","keywords":["quoted-printable","mime"],"author":{"name":"Andris Reinman"},"license":"MIT","_id":"libqp@0.1.1","maintainers":[{"name":"anonymous","email":"andris@node.ee"}],"homepage":"https://github.com/andris9/libqp","bugs":{"url":"https://github.com/andris9/libqp/issues"},"dist":{"shasum":"2d10cabb96b14fe9649f4ae353a39baa90063b01","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/libqp/-/libqp-0.1.1.tgz","integrity":"sha512-B0heFza7XsVIhSqlFTYGEoR6CiB8ycvNkpMFR/Q+0wnBN6hKl80bRptwnlqmCBBfMdyTKambIgDoiuRrAUYazg==","signatures":[{"sig":"MEUCIFJvZkQt0bwgpaUB13A4i98vls2W1YxaCpgfAkquIpQUAiEA0uzRCJeGNzsZ3/C6Xd6IX7vHtijYL6NRSrM29KJaRjM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/libqp.js","_from":".","scripts":{"test":"grunt"},"_npmUser":{"name":"anonymous","email":"andris@node.ee"},"repository":{"url":"git://github.com/andris9/libqp.git","type":"git"},"_npmVersion":"1.4.3","description":"Encode and decode quoted-printable strings according to rfc2045","directories":{},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-test":"~0.10.0","grunt-contrib-jshint":"~0.8.0"}},"1.0.0":{"name":"libqp","version":"1.0.0","keywords":["quoted-printable","mime"],"author":{"name":"Andris Reinman"},"license":"MIT","_id":"libqp@1.0.0","maintainers":[{"name":"anonymous","email":"andris@node.ee"}],"homepage":"https://github.com/andris9/libqp","bugs":{"url":"https://github.com/andris9/libqp/issues"},"dist":{"shasum":"aded044d83970c152de5b983d39c3b2d291f9a74","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/libqp/-/libqp-1.0.0.tgz","integrity":"sha512-yLHaYBOFU6lL1Y9XS9WxMJptVvi+KUSEXMGrrn9kBDESfx94W6q6/rXroIfHdWY1GCiakZLdX+r4mjtMHR6t2g==","signatures":[{"sig":"MEQCIFu7KtwEpeBzGm3UCOgSpNU4d1699pDUz4wW31TBcd59AiBm5ecKCIM402i+1swbJdIBp864qxPj3BStfKMkTomHRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/libqp.js","_from":".","_shasum":"aded044d83970c152de5b983d39c3b2d291f9a74","gitHead":"f1c844535ede953ba1fd621cda2457d47c62a233","scripts":{"test":"grunt"},"_npmUser":{"name":"anonymous","email":"andris@kreata.ee"},"repository":{"url":"git://github.com/andris9/libqp.git","type":"git"},"_npmVersion":"2.5.1","description":"Encode and decode quoted-printable strings according to rfc2045","directories":{},"_nodeVersion":"0.12.0","devDependencies":{"chai":"~2.2.0","grunt":"~0.4.5","grunt-mocha-test":"~0.12.7","grunt-contrib-jshint":"~0.11.1"}},"1.1.0":{"name":"libqp","version":"1.1.0","keywords":["quoted-printable","mime"],"author":{"name":"Andris Reinman"},"license":"MIT","_id":"libqp@1.1.0","maintainers":[{"name":"anonymous","email":"andris@node.ee"}],"homepage":"https://github.com/andris9/libqp","bugs":{"url":"https://github.com/andris9/libqp/issues"},"dist":{"shasum":"f5e6e06ad74b794fb5b5b66988bf728ef1dedbe8","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/libqp/-/libqp-1.1.0.tgz","integrity":"sha512-4Rgfa0hZpG++t1Vi2IiqXG9Ad1ig4QTmtuZF946QJP4bPqOYC78ixUXgz5TW/wE7lNaNKlplSYTxQ+fR2KZ0EA==","signatures":[{"sig":"MEUCIQCyJG4lBh580gbO1WXpDsiLVILEpTdXeHaaX3HOKECtjAIgKWk79yoQzGLK0hA2tNWlFj3Y7Nx5pKXcDannECmGpT4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/libqp.js","_from":".","_shasum":"f5e6e06ad74b794fb5b5b66988bf728ef1dedbe8","gitHead":"af43f886d2fdf871f94dd8db7eaea1e7f881ea4f","scripts":{"test":"grunt"},"_npmUser":{"name":"anonymous","email":"andris@kreata.ee"},"repository":{"url":"git://github.com/andris9/libqp.git","type":"git"},"_npmVersion":"2.14.3","description":"Encode and decode quoted-printable strings according to rfc2045","directories":{},"_nodeVersion":"4.1.0","devDependencies":{"chai":"~3.3.0","grunt":"~0.4.5","mocha":"^2.3.3","grunt-mocha-test":"~0.12.7","grunt-contrib-jshint":"~0.11.3"}},"2.0.0":{"name":"libqp","version":"2.0.0","keywords":["quoted-printable","mime"],"author":{"name":"Andris Reinman"},"license":"MIT","_id":"libqp@2.0.0","maintainers":[{"name":"anonymous","email":"andris@kreata.ee"}],"homepage":"https://github.com/andris9/libqp","bugs":{"url":"https://github.com/andris9/libqp/issues"},"dist":{"shasum":"46013d2f9a35d47eb6a36a1a3b49bc90e30b75a2","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/libqp/-/libqp-2.0.0.tgz","fileCount":7,"integrity":"sha512-OqckPrVE1xvGH6n+VyxzMV2fb1DNp2SZTJc6ql17sJIJC/6rgnCIMfBEZa+9/YOyycS3TQu1xABpOHncgdm6oQ==","signatures":[{"sig":"MEYCIQDyT3TQdW7FwGSX3P9ZkB2Yc1uwg6d/HNRUHNupesBf4QIhAIVb1JkVeAzVJsKLFUxn+kX3n7He1D6tp+lAAcQeS039","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY3XSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopgA/9E03OUESNU8Y7yajMw9TRqtMnslM9iov9gp17PwOiMLMJludb\r\nzEOfhALuDagEojiRbWETrbhfTLRZKEB6YqQkGPUgda0Zl1vxarsYnls6kZ+j\r\nw/kVJcR+eHTXJpRAhtRX25tK4OXIrRtJiRp7ruRQ35yYwlFH6NDmxO0iv0T7\r\nEgkkQCgIc+rBTq1uv2D/TfSXJ1KdnPdVZGZNFgOi5/Jgol1YrVRTKsGXwLGJ\r\n1Ru5kOzJ7wm+sbaeFR6bwxVf5tkN3g1BIYiW3m7gk/NWINCx+4EG6D/K1i2e\r\nslJEL9U8sVA4ZZOxB7VRKCDKBxqGccYbRLW8gdT2nn8jNpKBEfEcF28nrjWh\r\nCHUqZI4agaFrYMMqvHLHI/YgTlO2xJHuLVCcHIrkUe/EP4Gu4gnkWdGhKjWW\r\nWbmpg64EfxUu8fcucLb6hVbn9Ja0Qe7szgf+4e9HjeHrDEJ7zFinltDpfSX3\r\nq7AfixpLHosdKwiyrz/yq4f1ReYAjlxkihO8yjnae0aE+rSCtoqKrMUP1dHZ\r\nxgFFAtdivzfS9TzQFvukubTUTdFBXEuZYSvDb2z/UBIuV8OTiUljfHFgG02Y\r\nfMY4vL87MOrnKebvPPtW0DNts/VkNWqMEjBzaDXu5MwMPJ57KC6NXD2i46F1\r\nu6E5wvYvfpVYr7o6vHvsQ7i1L94ti89y5Mw=\r\n=eeoz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/libqp.js","gitHead":"7fdd6fa7920447e36ae84804c24fd3b93c02a5f2","scripts":{"test":"node --test test/"},"_npmUser":{"name":"anonymous","email":"andris@kreata.ee"},"repository":{"url":"git://github.com/andris9/libqp.git","type":"git"},"_npmVersion":"8.19.2","description":"Encode and decode quoted-printable strings according to rfc2045","directories":{},"_nodeVersion":"18.1.0","_hasShrinkwrap":false,"devDependencies":{"eslint-config-prettier":"8.5.0","eslint-config-nodemailer":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/libqp_2.0.0_1667462610623_0.486451467998422","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"libqp","version":"2.0.1","keywords":["quoted-printable","mime"],"author":{"name":"Andris Reinman"},"license":"MIT","_id":"libqp@2.0.1","maintainers":[{"name":"anonymous","email":"andris@kreata.ee"}],"homepage":"https://github.com/andris9/libqp","bugs":{"url":"https://github.com/andris9/libqp/issues"},"dist":{"shasum":"b8fed76cc1ea6c9ceff8888169e4e0de70cd5cf2","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/libqp/-/libqp-2.0.1.tgz","fileCount":7,"integrity":"sha512-Ka0eC5LkF3IPNQHJmYBWljJsw0UvM6j+QdKRbWyCdTmYwvIDE6a7bCm0UkTAL/K+3KXK5qXT/ClcInU01OpdLg==","signatures":[{"sig":"MEUCIEwoAQA3cUoiEk6Z6ATfAZqRftHAB3HQOSOgocCO7GLTAiEA3/qX0JfAptOH00vxWbdZ0FbIpk2Xqn+fT5/aTZU1hgs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14567,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY4gQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrA5w/+Jb0qyk+uVsZMLXvHhYusWbl+Hrt9Ueqc5wJ2kFSRXy7N14qG\r\nrXrSm4MIVp516OFGRZPE+x5D4VmowiKRtB/q6metF2qU7xTC/ASN6lMtX0OM\r\nMbu2Ms6DOnixJqG/YV/60IOpbMylTr/TrfRjFtc1VTZc1Au+C9Ae2FujbmlV\r\nAm2PWys9LKGZ2diPKqevTumqsMiJ4KRPd8EBI9b1kDNHguDuh2cBspqaHEgT\r\nQ0F3PyqwmIBEqNDLFzTbC0+p/Sv7RtMLL/l3mEovoYmTLcjDNu/eaVge5NtG\r\n8I56/Iew8M7DFiDs8CMzlcJGjy7eFSRa0xSP01GrMJ84OXm6hzxI6QPd871U\r\nMoPFvO+S2YbNl30W3bTJpstGPalkNibgh7MPsglobuwkvjRyd/RIP/j8pyy1\r\nlkPG081uXvu3QpJaQMWfmFNwZCmTw7Q+EXr7miEPbVuNmUHYDMefmRlF8j1S\r\nwDlaE7ID1ka7XDQbqnCZp/lh9yFV3HFTEmka6aHUeyFRnltlth9jht7P7rGo\r\nf+kHMg3AmniKtI5hRnR+qbvewJu7XFapCBZYyKo8R9hRtEQcGYFNoRiYPFhz\r\nVtDAKpprZxejysG8sxH45JukG5bPcs6YmZf/wwVitIdE9EZommFv8qJKZDt0\r\n3MBiTu/YbpdDGmw+a4MjgyuqmxzFs26SNWg=\r\n=tN3N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/libqp.js","gitHead":"cd77c47afba372e8f7c2c1c6beb7aac9fd7bb57b","scripts":{"test":"node --test test/"},"_npmUser":{"name":"anonymous","email":"andris@kreata.ee"},"repository":{"url":"git://github.com/andris9/libqp.git","type":"git"},"_npmVersion":"8.19.2","description":"Encode and decode quoted-printable strings according to rfc2045","directories":{},"_nodeVersion":"18.1.0","_hasShrinkwrap":false,"devDependencies":{"eslint-config-prettier":"8.5.0","eslint-config-nodemailer":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/libqp_2.0.1_1667467280024_0.5775255022977057","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"libqp","version":"2.1.0","keywords":["quoted-printable","mime"],"author":{"name":"Andris Reinman"},"license":"MIT","_id":"libqp@2.1.0","maintainers":[{"name":"anonymous","email":"andris@kreata.ee"}],"homepage":"https://github.com/nodemailer/libqp","bugs":{"url":"https://github.com/nodemailer/libqp/issues"},"dist":{"shasum":"ce84bffd86b76029032093bd866d316e12a3d3f5","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/libqp/-/libqp-2.1.0.tgz","fileCount":11,"integrity":"sha512-O6O6/fsG5jiUVbvdgT7YX3xY3uIadR6wEZ7+vy9u7PKHAlSEB6blvC1o5pHBjgsi95Uo0aiBBdkyFecj6jtb7A==","signatures":[{"sig":"MEYCIQDWDLdY+mtyOL+xBiPVF2DRrm2b6/QOpwT1lykWVI24XwIhAK2SBS56+UA9ROTg/s2A86fGNNICE8SXZUl/Pmy37DYk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/libqp@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16938},"main":"lib/libqp.js","gitHead":"5e1893035049cbe1b148b3a02b9d36feccbddf9f","scripts":{"test":"node --test","update":"rm -rf node_modules package-lock.json && ncu -u && npm install"},"_npmUser":{"name":"anonymous","email":"andris@kreata.ee"},"repository":{"url":"git://github.com/nodemailer/libqp.git","type":"git"},"_npmVersion":"10.2.4","description":"Encode and decode quoted-printable strings according to rfc2045","directories":{},"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"eslint-config-prettier":"9.1.0","eslint-config-nodemailer":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/libqp_2.1.0_1708686949250_0.5308836930563281","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"libqp","version":"2.1.1","description":"Encode and decode quoted-printable strings according to rfc2045","main":"lib/libqp.js","scripts":{"test":"node --test","update":"rm -rf node_modules package-lock.json && ncu -u && npm install"},"repository":{"type":"git","url":"git://github.com/nodemailer/libqp.git"},"keywords":["quoted-printable","mime"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/nodemailer/libqp/issues"},"homepage":"https://github.com/nodemailer/libqp","devDependencies":{"eslint-config-nodemailer":"1.2.0","eslint-config-prettier":"9.1.0"},"_id":"libqp@2.1.1","gitHead":"5babf64f46280dd91d8410d950baf2cfcaecdc7c","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0Wd+GPz1O134cP62YU2GTOPNA7Qgl09XwCqM5zpBv87ERCXdfDtyKXvV7c9U22yWJh44QZqBocFnXN11K96qow==","shasum":"f1be767a58f966f500597997cab72cfc1e17abfa","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/libqp/-/libqp-2.1.1.tgz","fileCount":11,"unpackedSize":22312,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/libqp@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJh+Lcf5NSq1Lud9gkly3FxQusfIb8MaKaCf/YgPnlSAiByMoe8Ia+l0HeVn+A16aJ/mQ0IF2ZK3J+MJT4pOyE6FA=="}]},"_npmUser":{"name":"anonymous","email":"andris@kreata.ee"},"directories":{},"maintainers":[{"name":"anonymous","email":"andris@kreata.ee"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/libqp_2.1.1_1732871564596_0.7160694967275929"},"_hasShrinkwrap":false}},"name":"libqp","time":{"created":"2014-06-18T08:10:29.115Z","modified":"2024-11-29T09:12:45.146Z","0.1.0":"2014-06-18T08:10:29.115Z","0.1.1":"2014-06-18T13:28:06.642Z","1.0.0":"2015-04-03T20:35:42.307Z","1.1.0":"2015-09-24T12:04:25.827Z","2.0.0":"2022-11-03T08:03:30.810Z","2.0.1":"2022-11-03T09:21:20.239Z","2.1.0":"2024-02-23T11:15:49.425Z","2.1.1":"2024-11-29T09:12:44.776Z"},"readmeFilename":"README.md","homepage":"https://github.com/nodemailer/libqp"}