{"_id":"highlightjs-curl","_rev":"3-dd8240d90a47b300115d29e835c74328","name":"highlightjs-curl","dist-tags":{"latest":"1.3.0"},"versions":{"1.2.0":{"name":"highlightjs-curl","version":"1.2.0","author":{"name":"John Foster"},"description":"Support for using highlight.js to syntax highlight cURL commands.","main":"src/languages/curl.min.js","scripts":{"test":"jasmine"},"repository":{"type":"git","url":"git+https://github.com/highlightjs/highlightjs-curl.git"},"keywords":["curl","http","javascript","highlight.js","highlightjs","syntax"],"license":"Apache-2.0","bugs":{"url":"https://github.com/highlightjs/highlightjs-curl/issues"},"homepage":"https://github.com/highlightjs/highlightjs-curl#readme","devDependencies":{"highlight.js":"^10.7.1","jasmine":"^3.7.0"},"gitHead":"37b053c78e082945edf5ab4b5f8a7ca5377b32e4","_id":"highlightjs-curl@1.2.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-8MrWX07ybpdN2nBmfrqxGYlEbkqtE90kodqWs0iVZUpyiU7zToCR4ocz5+Uf8/+ibG3lNTpkszUd+dl2ssdUYA==","shasum":"9aa1ae39b27be2bb098fcacbdd90ce2300af41b3","tarball":"https://registry.npmjs.org/highlightjs-curl/-/highlightjs-curl-1.2.0.tgz","fileCount":3,"unpackedSize":15128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrGJ/CRA9TVsSAnZWagAAXd0P/2aRkBfVOeQxuCt6J8nB\nMgbSfgmf+FRJo68lbvW/3huBTNHbHY8we5LkpTINhk6KAr7V2g5aJxt2L/aj\nb7ryANtpdy155Bh0ZEquZqdYHPxWzH61yorxRNv09MwaasprEwFAg1adNZbd\nXOQTdXePTVcUM9eGTZ7TXRyeBcMthcTtNLX0Aob1XIazMZAFbvhO2StVp7hK\nh6BtN+MG6/g+/HJiLeG3lEjm9qSTN4AXcc8HgTGjEFxh6fldw2pnp8pslw3A\n8hz1FlKEuORaBeL1Hn7MWd2SKQwIQE9nfoKBPQlRLTYikRXch3dME6ZOnWCp\nxxNodlvcYgzMptAjrTZLx6VNzmS+i7llch0JacSmx41qwd4ELGriZiYvU5Zi\n55WTVcInfYHN+FB0WbNdb1Ohk01XwXLp3AnohkLqi3Hk3w3+SgmrBDPB1qn8\n1qAlrbkhdTRpRZt+LjiBK+fBNDBWfbuS8wgB86AjWCCXAlbqYct6HTLG8VvO\noy54gijZHhTeEjEYs26BmyYRsERJYgzghpAkiAO/qiWmn94nEt5qjf2NNPDX\nb2JV7kQhO0Nclllqb+vJT5kaEIE92pizeJUaymwh4R4C4kM+ZZXDmdSoT0w/\nRaA2MuhXKyTVQ7M3PwyVmtyhtWKWJJyXcYYyz8yO4GkmI6LGt2sM5hR9tFfw\noqqf\r\n=gM9E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1EOTzS9HS2lZTo9MLdgbu/i/HRrDoLsRRFXxdba0F9AiEAsZI5cbilgV3kPr35TahsBS/zwCLSfDDLblwFmlFNyTs="}]},"_npmUser":{"name":"geoplay9","email":"jfoster@esri.com"},"directories":{},"maintainers":[{"name":"geoplay9","email":"jfoster@esri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/highlightjs-curl_1.2.0_1621910142726_0.5809931648489892"},"_hasShrinkwrap":false},"1.2.1":{"name":"highlightjs-curl","version":"1.2.1","author":{"name":"John Foster"},"description":"Support for using highlight.js to syntax highlight cURL commands.","main":"src/languages/curl.js","scripts":{"test":"jasmine"},"repository":{"type":"git","url":"git+https://github.com/highlightjs/highlightjs-curl.git"},"keywords":["curl","http","javascript","highlight.js","highlightjs","syntax"],"license":"Apache-2.0","bugs":{"url":"https://github.com/highlightjs/highlightjs-curl/issues"},"homepage":"https://github.com/highlightjs/highlightjs-curl#readme","devDependencies":{"highlight.js":"^10.7.1","jasmine":"^3.7.0"},"gitHead":"2492338532061483a81764727c5b1d55ccd5784b","_id":"highlightjs-curl@1.2.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-tsNWPqDKVsZYSl5ekT/WIKhocRsLm8X3qT/fagchjHhvhAgErbO6EQyhyFo5cFhWrBB7LeCe4X8wYqs9VhsHvA==","shasum":"d56d5d60ff6400d994e93f637181a35bf73dda9c","tarball":"https://registry.npmjs.org/highlightjs-curl/-/highlightjs-curl-1.2.1.tgz","fileCount":4,"unpackedSize":16658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrTziCRA9TVsSAnZWagAAfIsQAJuGrIfLi7EpLRJ/XUCn\nhWVbuEnFgCL9ZY3fHl9WM3snpwQNFmliebrCezvlAoHJdIlomPS7mUKq0zQ2\nHMlOYjsb5raKAYmtDadlkXEe8kA5B/v0/LQuuLtVsrjqE4ASSGTyQx03xSqr\nIxRBtm2ia8EjwwdeS1FOuIIj4Mdn9Z0SjAVLX/ziKtxTOFiFjD9eRM161EkP\nAUdTmocuDR3hEX+ZfFy95GIEAeeSE7HMyD45EtoUukNlkjFEVu0kUZdQMNLR\nvqY8BeOOazbHOqwNI7eRrmPPg7catau9/gtsZPgtPsKOcSV782W4KAAHSwal\nTnWFEVR3KNbfyLWVAn6WPfUa1DPxjBQQITdD+yqDj45oOToS1cDb24Uwx8b2\no//UKlisOCNauDWIuEFtXH3CPe+ymVGv35rRhaKFpuu7JlkPxSGdOgfD9kdy\n585afao4MRNjuV7DibxyykAtVvNSoUI0bLNca0Gdcut62HpWkxMmKJp1Dd4V\nYYzA7RHA5J1Arz4z32NYzmw885j304QZm5g5b4YFFWmMJaNpEwyj3JMHm1Om\nHgy5OlgKgjbB75JYJv5f1Q60YdflBlYFllpPOMUZK+Cn1ZXANr34INl7TKpH\nngsdJIyAFR/AcMwmrRCcz4G8lE8vNZob0b8nh2do8D1J1DGzLpJsdmOLkJ/c\nP4m7\r\n=q1C5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+3YHSDJRaN8wbDNVqFktimFhee994Z7NWiRjXrsDkXAiEA29Cx3wCKK0+T0H79N14leZKGdUuh8tIC4FAoV7UILao="}]},"_npmUser":{"name":"geoplay9","email":"jfoster@esri.com"},"directories":{},"maintainers":[{"name":"geoplay9","email":"jfoster@esri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/highlightjs-curl_1.2.1_1621966049606_0.15661548373751866"},"_hasShrinkwrap":false},"1.3.0":{"name":"highlightjs-curl","version":"1.3.0","author":{"name":"John Foster"},"description":"Support for using highlight.js to syntax highlight cURL commands.","main":"src/languages/curl.js","scripts":{"test":"jasmine"},"repository":{"type":"git","url":"git+https://github.com/highlightjs/highlightjs-curl.git"},"keywords":["curl","http","javascript","highlight.js","highlightjs","syntax"],"license":"Apache-2.0","bugs":{"url":"https://github.com/highlightjs/highlightjs-curl/issues"},"homepage":"https://github.com/highlightjs/highlightjs-curl#readme","devDependencies":{"highlight.js":"^11.3.1","jasmine":"^3.10.0"},"gitHead":"be69b45290fe710737a0a6829a8b1abbb0443c60","_id":"highlightjs-curl@1.3.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-50UEfZq1KR0Lfk2Tr6xb/MUIZH3h10oNC0OTy9g7WELcs5Fgy/mKN1vEhuKTkKbdo8vr5F9GXstu2eLhApfQ3A==","shasum":"e61e303b4102aaa1b3a3302221257d5c2dd023a2","tarball":"https://registry.npmjs.org/highlightjs-curl/-/highlightjs-curl-1.3.0.tgz","fileCount":4,"unpackedSize":16971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3IOQCRA9TVsSAnZWagAARysP/i1LVZKx/vzDykQ88PnR\nTEseR4eDjAN4pLFwhHm6EXoIeIAM3Lz2S4PbqI6BjxGvByHRT0wzW4nmp6Jy\nwoIg16vFHfw22FwvE+oQwchQ4fW0rY57ElPIEhmM8o40rJHNujh+Nk4BJbun\nyLRmV+O1S8E+cijLoPJLbfJUmhoxdqja+Z+RfptHAcv6Au0U+VlqW2Ks7hw2\nvyMc1BXwhjCY5HPt1/WlJ9/IQORjwKXfBOafxjVNtMMizeonS6nLwUSLX22t\nT1XqTqBdZOE8a0Gx7UneLjfEmUpKA/StggsKSqcZcfa7JddwTjDm0+UzuMie\nTRTdiPSLTiYbkiGFv6DcDBSwDrI7NnlcF7eSLArh2M8f46MALI+iYXwnDRcZ\nHFvQ2sOPHUQzJe3ETJWP/DYCJ/tkFS3HcphtfoF8WTXLMeXwM+n6qlV6P+9d\n09kJjRL8L2hipuYvf1rM4So7wGA7+Vtpz+segL0Th4NnQk3bS2zcp+9Ewpn5\nIJilnA8ljKlTTj9T1ozSlH13W2FVNi5TrQOKz6htaJb+4c0E3UVJU8sIywcC\nMmjV8EVE1INLJgk+GbMX7cle4FCzTYehZzKBYWTrlrBgOGUQOWXae9MW8StZ\n0e57MnGr419G9RkNesOHyW5bup2K/RbyA+lRG3fvzURVvihT7MosqSS3D34C\ny77U\r\n=zu+a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ1Mvr4JJa0V70NRgxtOTAEZMI+CI7jpEr9vGqN9e0PAIgNk5vPKzAbii0Q3z5+lbgDPKgpEti6/KYRghaXZevvE4="}]},"_npmUser":{"name":"geoplay9","email":"jfoster@esri.com"},"directories":{},"maintainers":[{"name":"geoplay9","email":"jfoster@esri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/highlightjs-curl_1.3.0_1641841552480_0.0816224934840537"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-25T02:35:42.666Z","1.2.0":"2021-05-25T02:35:42.847Z","modified":"2022-05-05T00:34:17.604Z","1.2.1":"2021-05-25T18:07:29.721Z","1.3.0":"2022-01-10T19:05:52.740Z"},"maintainers":[{"name":"geoplay9","email":"jfoster@esri.com"}],"description":"Support for using highlight.js to syntax highlight cURL commands.","homepage":"https://github.com/highlightjs/highlightjs-curl#readme","keywords":["curl","http","javascript","highlight.js","highlightjs","syntax"],"repository":{"type":"git","url":"git+https://github.com/highlightjs/highlightjs-curl.git"},"author":{"name":"John Foster"},"bugs":{"url":"https://github.com/highlightjs/highlightjs-curl/issues"},"license":"Apache-2.0","readme":"# highlightjs-curl\n\nSupport for using `highlight.js` to syntax highlight cURL commands. See https://highlightjs.org/ for more information about highlight.js. See https://curl.haxx.se/docs/manpage.html or in your shell use `curl --help` for more information about cURL.\n\n## Installation\n\nInclude the `highlight.js` script package in your webpage or node app, load this module and register it with `hljs`.\n\nThis cURL module is not part of the standard distribution and must be loaded separately. The module name is `curl.min.js` or `curl`, depending on how you reference the module from your bundler code.\n\n### Static website\n\nLoad the `curl` module after loading Highlight.js.  Use the minified version found in the `dist` directory.  This module is just a CDN build of the language, so it will register itself as the JavaScript is loaded.\n\n```html\n<script type=\"text/javascript\" src=\"/path/to/highlight.min.js\"></script>\n<script type=\"text/javascript\" src=\"/path/to/curl.min.js\"></script>\n<script type=\"text/javascript\">\n  hljs.highlightAll();\n</script>\n```\n\n### Using directly from the UNPKG CDN\n\n```html\n<script type=\"text/javascript\"\n  src=\"https://unpkg.com/highlightjs-curl@1.3.0/dist/curl.min.js\"></script>\n```\n\n- More info: <https://unpkg.com>\n\n### With Node or another build system\n\nIf you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.\n\n```javascript\nvar hljs = require('highlight.js');\nvar hljsCurl = require('highlightjs-curl');\n\nhljs.registerLanguage(\"curl\", hljsCurl);\nhljs.highlightAll();\n```\n\n## Usage\n\nOnce loaded, mark the code you want to highlight with the `language-curl` class:\n\n```html\n<pre><code class=\"language-curl\">...</code></pre>\n```\n\nWithout specifying the language, Highlight.js will attempt to auto-detect the grammar. Since this curl grammar is an extension of bash, it may detect bash or some other grammar instead. Therefore, always specify `curl` or `language-curl`.\n\nFor more information, follow instructions at [highlightjs.org](https://highlightjs.org/usage/) to learn how to include the library and CSS and other use cases. See [Getting started](https://github.com/highlightjs/highlight.js#getting-started) for different integration and module options.\n\n## Contributing\n\n[Contributions welcome](https://github.com/esri/contributing). Download this repo and install the dependencies:\n\n```bash\nnpm install\n```\n\nUpdate `src/language/curl.js`. Be sure to update the test data `test/markup` and `test/detect` files to include a test for your changes, or create a new test in `spec/curl-spec.js`. Run the local test with\n\n```bash\nnpm test\n```\n\nThe tests must pass!\n\nTo build the distribution, follow instructions at [Highlight.js 3rd Party Quick Start](https://github.com/highlightjs/highlight.js/blob/master/extra/3RD_PARTY_QUICK_START.md).\n\nIssue a pull request.\n\n## License\n\nLicensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) (the \"License\"); you may not use this file except in compliance with the License.\n","readmeFilename":"README.md"}