{"_id":"j2m","_rev":"4-cb18dad1d7f3602ec24e3bd2360fc7d2","name":"j2m","description":"Convert from JIRA text formatting to GitHub Flavored MarkDown and back again","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"j2m","version":"1.0.0","description":"Convert from JIRA text formatting to GitHub Flavored MarkDown and back again","main":"src/J2M.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"j2m":"src/bin/j2m.js"},"repository":{"type":"git","url":"git+https://github.com/FokkeZB/J2M.git"},"keywords":["jira","atlassian","markdown","convert"],"author":{"name":"Fokke Zandbergen","email":"mail@fokkezb.nl"},"license":"Apache-2.0","bugs":{"url":"https://github.com/FokkeZB/J2M/issues"},"homepage":"https://github.com/FokkeZB/J2M#readme","dependencies":{"colors":"^1.1.2","minimist":"^1.2.0"},"gitHead":"e70d4a237030e9fcaad5ac58dcda4296ddce29a4","_id":"j2m@1.0.0","_shasum":"d5b0a99da8a11b9a9dc2ef731263acc27604f586","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"fokkezb","email":"mail@fokkezb.nl"},"dist":{"shasum":"d5b0a99da8a11b9a9dc2ef731263acc27604f586","tarball":"https://registry.npmjs.org/j2m/-/j2m-1.0.0.tgz","integrity":"sha512-zs5lUuQgBStXFvkWXx+sesHWTl/UhiWM+kBTUwMwwF9fGiviw/qKjwudLBAmnkVMb00EUwYrf41AKoOrpOC7Pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkox73wUQYr7I+pQ03+h2JdZ6pHkZPbP7LE7x4nphlzAiEAnLyMqDp9rzLvC9ObXwyvypKHL5y90QhhN2ixPfClTo0="}]},"maintainers":[{"name":"fokkezb","email":"mail@fokkezb.nl"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/j2m-1.0.0.tgz_1463993680599_0.5252164006233215"}},"1.1.0":{"name":"j2m","version":"1.1.0","description":"Convert from JIRA text formatting to GitHub Flavored MarkDown and back again","main":"src/J2M.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"j2m":"src/bin/j2m.js"},"repository":{"type":"git","url":"git+https://github.com/FokkeZB/J2M.git"},"keywords":["jira","atlassian","markdown","convert"],"author":{"name":"Fokke Zandbergen","email":"mail@fokkezb.nl"},"license":"Apache-2.0","bugs":{"url":"https://github.com/FokkeZB/J2M/issues"},"homepage":"https://github.com/FokkeZB/J2M#readme","dependencies":{"colors":"^1.1.2","minimist":"^1.2.0"},"gitHead":"b2e293c23c5f9ecbdc69ea21646f0fc1e2ce369f","_id":"j2m@1.1.0","_shasum":"bcd2fe36902eaf012eb9613a39a2a9e14e458df4","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"fokkezb","email":"mail@fokkezb.nl"},"dist":{"shasum":"bcd2fe36902eaf012eb9613a39a2a9e14e458df4","tarball":"https://registry.npmjs.org/j2m/-/j2m-1.1.0.tgz","integrity":"sha512-48wXbhVo5fUsqxAhpEPZIP8HJaHGJGK38XwZCyjbS5MuEdkCR786U4U4Hk5g34e60Kf/jF8y+TphVTHYe/mSWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaA1+crjc8pr7PYghR4UKLJV6InO8D/FAMyqyKWCq/+AIgVuLvJa6H5kVwzaE3jc0xmP1XH/2KxDVtBJWwB/TmrI4="}]},"maintainers":[{"name":"fokkezb","email":"mail@fokkezb.nl"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/j2m-1.1.0.tgz_1486908548013_0.5299828457646072"}}},"readme":"# J2M\n## JIRA to MarkDown text format converter\nConvert from JIRA text formatting to GitHub Flavored MarkDown and back again. Just because I got tired of reformatting text between GitHub (PR's) and JIRA.\n\n\n## Library\n### Installation\nThe J2M library is available via bower (for frontend usage) and npm (for node usage):\n\n```\n$ bower install J2M --save\n```\n```\n$ npm install j2m --save\n```\n\n### Usage\nJ2M exposes 2 methods: `toJ` and `toM` for converting to Jira markup and to markdown.\n\n- `J2M.toJ(markdown : string) : string`\n- `J2M.toM(jira : string) : string`\n\n#### Usage Example:\n```JavaScript\nvar J2M = require('J2M');\n\nvar input = '## cool markdown';\nvar jira = J2M.toJ(input);\nvar markdownAgain = J2M.toM(jira);\n```\n\n\n## CLI\nJ2M is also available as a command line utility.\n\n### Installation\n```\n$ npm install -g j2m\n```\n\n### Usage\n```\n$ j2m [--toM|--toJ] [--stdin] $filename \n\nOptions: \n--toM, -m:    Treat input as jira text and convert it to Markdown \n--toJ, -j:    Treat input as markdown text and convert it to Jira \n--stdin:      Read input from stdin. In this case the give filename is ignored \n```\n\n#### Usage Example\n```bash\n# convert notes to jira markup and copy it to the clipboard (mac)\nj2m --toJ notes.md | pbcopy\n\n# retrieve some file in jira markup and save it as markdown\ncurl http://someserver.com/jira.txt | j2m --toM --stdin > notee.md\n```\n\n## Website\nUse J2M online at: [http://j2m.fokkezb.nl/](http://j2m.fokkezb.nl/) (updated automagically)\n\n## Roadmap\nI hope to extend TiCons with the following features:\n\n* Add as much syntax support as time allows me and need drives me :)\n\nFeel free to [mail](mail@fokkezb.nl) me or fork the code and send a pull-request.\n\n## License\n\n<pre>\nCopyright 2013 Fokke Zandbergen\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n</pre>","maintainers":[{"name":"fokkezb","email":"mail@fokkezb.nl"}],"time":{"modified":"2022-06-19T03:30:14.132Z","created":"2016-05-23T08:54:41.641Z","1.0.0":"2016-05-23T08:54:41.641Z","1.1.0":"2017-02-12T14:09:09.958Z"},"homepage":"https://github.com/FokkeZB/J2M#readme","keywords":["jira","atlassian","markdown","convert"],"repository":{"type":"git","url":"git+https://github.com/FokkeZB/J2M.git"},"author":{"name":"Fokke Zandbergen","email":"mail@fokkezb.nl"},"bugs":{"url":"https://github.com/FokkeZB/J2M/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}