{"_id":"@37bytes/js-jiramark","_rev":"3-79356da5a5a0385f511353e5b637ddfa","name":"@37bytes/js-jiramark","dist-tags":{"latest":"0.5.1"},"versions":{"0.5.1":{"name":"@37bytes/js-jiramark","description":"Parser for the JIRA markup language","version":"0.5.1","author":{"name":"Joyent","url":"joyent.com"},"keywords":["jira"],"repository":{"type":"git","url":"git+ssh://git@github.com/37bytes/js-jiramark.git"},"bugs":{"url":"https://github.com/37bytes/js-jiramark/issues"},"main":"lib/index.js","dependencies":{"assert-plus":"~1.0.0","ent":"2.0.0","jsprim":"^1.4.0","ohm-js":"~0.14.0"},"devDependencies":{"istanbul":"^0.3.6","faucet":"0.0.1","tape":"^3.5.0","eslint":"4.19.1","eslint-plugin-joyent":"~2.1.0"},"scripts":{"test":"tape ./test/*.test.js"},"license":"MPL-2.0","gitHead":"2687a35c9ad43baa382b5af28ffbe4251f9d8e45","homepage":"https://github.com/37bytes/js-jiramark#readme","_id":"@37bytes/js-jiramark@0.5.1","_nodeVersion":"16.7.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-qS/crgMYAOcL0MzC1Ka0kEjDz2r5WdcaUD5NtIdgcAgwg8N2xKIP118hdYk4ToIFzjAJzdQ/LO26C7fiNVuzkA==","shasum":"dc278a57b8d57640336be6b6e995f3c474297e34","tarball":"https://registry.npmjs.org/@37bytes/js-jiramark/-/js-jiramark-0.5.1.tgz","fileCount":11,"unpackedSize":67271,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqbSJVpnymtCo85SY2kcW8vWjfGrPjUnRQ0lptc5JE+wIhAKLIIttJawVCBg6HQ0jakvuvDqPjBM9kmHzHlO0qFdB6"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbPNNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrApg/+IbmmnlFjLYDuoy0gE3NWm2l6xMVU4ONLYtyZWFIcZbaqLnSX\r\nxtG9D5vx851Mfnn13V140q9Fvym+fEkW7cPMxz3yCCXPuV66QH+ED87QQRqD\r\nRShHLTTesv/f+TU1JBi1XF1AoUDSR1O4DR+tZUW7PcZ220fXT53oD4jr7kIC\r\nZjWKv5XtyVTSOoPGg72+jFx1S64a+KEpw+NIJwH+HodikGpdPtqmdFjk66Mu\r\nT0Lyb8OvbITLxgqkw0AYu1UDc1B3ABKy0Re50vyZwgL+wBHL2iXhHlU8Fy+y\r\nt2wCui26Ao7sL71mBvY+zfqWH/9P7qICt2CG0bg9X6f+9wotZWKd2vAsbjbD\r\n2Lpiw5EOATTp6q+rHOI/71TThZGeoWWP09RGi9CXbzJUOEoguZH10R7g78sA\r\nVKcQ7t3D85SB3ZXsHyv/b5j5Yg5+/7a3yBzLv6E/5wojFaGFEd6GcyOqh4TE\r\njBlrgtdDcoTOJjW9h/bzjfY6So5ucmw7lSJh+Z253Qytrxgy4EziS5SSMG4j\r\nyLB6q1J0rPikq7s2zLvL7VwaSs6Y2axXyEPNJF3OtzLI3DQ/Xz2QOomJI3iE\r\nQ9OEiAQXMgtnZUvbo8hQb5iXyadnEBDoTfb1hrGt57HZTIeyDktxdZUYLXXT\r\nHJZpDiK655uife95S3mgPT5xgUyeZZkZISE=\r\n=wpHh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dc.nikolaev","email":"dnikolaev@37bytes.com"},"directories":{},"maintainers":[{"name":"rteslenko","email":"rteslenko@37bytes.com"},{"name":"tnikolaeva","email":"tnikolaeva@37bytes.com"},{"name":"dc.nikolaev","email":"dnikolaev@37bytes.com"},{"name":"mgarmash","email":"ops@37bytes.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-jiramark_0.5.1_1668084557266_0.8686433381170033"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-10T12:49:17.192Z","0.5.1":"2022-11-10T12:49:17.429Z","modified":"2023-12-21T13:06:49.796Z"},"maintainers":[{"email":"naushev@37bytes.com","name":"arhonist-37b"},{"email":"rispaev@37bytes.com","name":"rispaev"},{"email":"yavavilin@37bytes.com","name":"yar_vav"},{"email":"rteslenko@37bytes.com","name":"rteslenko"},{"email":"tnikolaeva@37bytes.com","name":"tnikolaeva"},{"email":"dnikolaev@37bytes.com","name":"dc.nikolaev"},{"email":"ops@37bytes.com","name":"mgarmash"}],"description":"Parser for the JIRA markup language","homepage":"https://github.com/37bytes/js-jiramark#readme","keywords":["jira"],"repository":{"type":"git","url":"git+ssh://git@github.com/37bytes/js-jiramark.git"},"author":{"name":"Joyent","url":"joyent.com"},"bugs":{"url":"https://github.com/37bytes/js-jiramark/issues"},"license":"MPL-2.0","readme":"<!--\n    This Source Code Form is subject to the terms of the Mozilla Public\n    License, v. 2.0. If a copy of the MPL was not distributed with this\n    file, You can obtain one at http://mozilla.org/MPL/2.0/.\n-->\n\n<!--\n    Copyright (c) 2019, Joyent, Inc.\n-->\n\n# [node-jiramark](https://github.com/TritonDataCenter/node-jiramark) fork\n**May work in browser.**\n\n`jiramark` is a library for parsing the\n[JIRA markup language](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all).\nThis library may fail to parse some markup since it doesn't fall back as\ngracefully with weird input in the same way that JIRA does. If you have any\nexamples of sane markup that you think this library could handle, please open\nan [issue](https://github.com/37bytes/js-jiramark/issues).\n\n## Installation\n\nInstall [node.js](http://nodejs.org/), then:\n\n    npm install 37bytes/js-jiramark\n\n## API\n\n### `markupToHTML(input)`\n\nThis will return a string representing an approximation of the JIRA markup in\nHTML. If the input cannot be parsed, then an explanatory `Error` will be thrown.\n\nYou'll also want to insert CSS into the page to help format things the way you\nwant. Here's an example to start with:\n\n```css\ndiv.panel {\n  border: 2px solid black;\n  margin-left: 1em;\n  margin-right: 1em;\n}\ndiv.code, div.preformatted {\n  font-family: Monospace;\n}\ndiv.panel, pre {\n  background-color: #eeeeee;\n}\ndiv.panel div {\n  padding: 9px 12px;\n}\ndiv.panel div.panelHeader {\n  border-bottom: 2px solid black;\n}\nth, tr {\n  border: 1px solid black;\n  padding: 3px 4px;\n}\nth {\n  background-color: #eeeeee;\n  text-align: center;\n}\n```\n\n## License\n\nThis Source Code Form is subject to the terms of the Mozilla Public License, v.\n2.0.  For the full license text see LICENSE, or http://mozilla.org/MPL/2.0/.\n\nCopyright (c) 2019, Joyent, Inc.\n\n## Bugs\n\nSee <https://github.com/37bytes/js-jiramark/issues> + <https://github.com/joyent/node-jiramark/issues>.\n","readmeFilename":"README.md"}