{"_id":"hifile","_rev":"27-f92a51748c9c104719594285fcda6a40","name":"hifile","description":"generate markup for highlight.js file viewer","dist-tags":{"latest":"2.1.1"},"versions":{"0.0.1":{"name":"hifile","version":"0.0.1","description":"generate markup for highlight.js file viewer","main":"index.js","dependencies":{"highlight.js":"~7.3.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matt Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","gitHead":"ed920e5f252fc08bb77a9e600eb4d7d689c3f14a","_id":"hifile@0.0.1","dist":{"shasum":"029803f2329448f0eb0bd29b3c884a842cc794f4","tarball":"https://registry.npmjs.org/hifile/-/hifile-0.0.1.tgz","integrity":"sha512-wp1D02A4enbhYRYYQvkmytEZD/67q6h8XFSCXvtNq0TtGJANiEc09iSvz1StUr8CeKERFxvCSpvoGYTY0tmqsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN1PSsvDwbYZVyiu01RCAPFQLC1DsmURpuJtcq7GqbtQIhAIJ2FeyuA2HiRa+vx/b3Qe4IzRe9TOaut45t///moOZd"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"diff_sky","email":"matthew.hadley@gmail.com"},"maintainers":[{"name":"diff_sky","email":"matthew.hadley@gmail.com"}],"directories":{}},"0.0.2":{"name":"hifile","version":"0.0.2","description":"generate markup for highlight.js file viewer","main":"index.js","dependencies":{"highlight.js":"~7.3.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"_id":"hifile@0.0.2","dist":{"shasum":"21b0bdf2e15abfcabe5196ebb2916ffb2f27d6cc","tarball":"https://registry.npmjs.org/hifile/-/hifile-0.0.2.tgz","integrity":"sha512-KN8EsUPVMl4KHInst3pLYtH6m4t7O+1hkUbBB5kC/RJ1yE4wbpnEDZdlxBbaRGvOlHzVWfUNctMiVhaIXxW2ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLCHe0f4LZPBDzvjlbf4ddN6NwVq/NXbqMEm+f/RZ7WQIhAJWQW7E7OzE1xDIBe+OteSx7u2Vo1NY+wJCHGkDj3v2p"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"diff_sky","email":"matthew.hadley@gmail.com"},"maintainers":[{"name":"diff_sky","email":"matthew.hadley@gmail.com"}],"directories":{}},"0.0.3":{"name":"hifile","version":"0.0.3","description":"generate markup for highlight.js file viewer","main":"index.js","dependencies":{"highlight.js":"~7.3.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"_id":"hifile@0.0.3","dist":{"shasum":"b982d0a5336eee0da89cb753b4de0d4dc1323efb","tarball":"https://registry.npmjs.org/hifile/-/hifile-0.0.3.tgz","integrity":"sha512-KcDTMW/a5LHZXPrY29XVh9X8XlHpchV9cCWsyzTTjagLoLE/909SujL8zhGS/H0BmEDzQc3rPip/1v0z9aVrlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPKEZbxZfv3SlB01Q99iI24OzDHJRT1bhSPIF+vNW0IQIgLrDhKyBrsoha8V7f/UkPCDQjiqs/G7uUgTekYxX7MaM="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"diff_sky","email":"matthew.hadley@gmail.com"},"maintainers":[{"name":"diff_sky","email":"matthew.hadley@gmail.com"}],"directories":{}},"0.0.4":{"name":"hifile","version":"0.0.4","description":"generate markup for highlight.js file viewer","main":"index.js","dependencies":{"highlight.js":"~7.3.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"_id":"hifile@0.0.4","dist":{"shasum":"3caa93d5fd9f6a6c3465722bef3238d18cc8baae","tarball":"https://registry.npmjs.org/hifile/-/hifile-0.0.4.tgz","integrity":"sha512-Bi/aQHa8PYbNJ9YeFa9eDsjaHVcnT/LRP7OHQTJiibyEnazzIwce7us1c8z1j6t+KefAg10kS8bMVVN1T6TdvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfrudx4LmQqmXJ0+YvhyxXpb/QEfFX0+fspnFNjtPqTQIgPF3pjjFb7cKEoKcNhif7+xngDfohGDDc83OkXVq2k0k="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"diff_sky","email":"matthew.hadley@gmail.com"},"maintainers":[{"name":"diff_sky","email":"matthew.hadley@gmail.com"}],"directories":{}},"1.0.0":{"name":"hifile","version":"1.0.0","description":"generate markup for highlight.js file viewer","main":"index.js","dependencies":{"highlight.js":"^8.0.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"homepage":"https://github.com/diffsky/hifile","_id":"hifile@1.0.0","dist":{"shasum":"d1439da4398b54e0698094d135bb5b3a06f422f8","tarball":"https://registry.npmjs.org/hifile/-/hifile-1.0.0.tgz","integrity":"sha512-n3etK9go/f5SMLkG6DD7y9pjsRi1fyZ4my3iRDaI17ugL2kLr812w1scOmdQS2foIH9miD8HKUThGv5xqPd6mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFvSw3RS2IPTtQ0vATY6ub4+pdAenM2CjqmEOuT+vo6AiBSivy81YFu+bWMyhNPpPhbgoVJFgryB+z+huhf1rxfAQ=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"diff_sky","email":"matthew.hadley@gmail.com"},"maintainers":[{"name":"diff_sky","email":"matthew.hadley@gmail.com"}],"directories":{}},"1.0.1":{"name":"hifile","version":"1.0.1","description":"generate markup for highlight.js file viewer","main":"index.js","dependencies":{"highlight.js":"^8.0.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"homepage":"https://github.com/diffsky/hifile","_id":"hifile@1.0.1","dist":{"shasum":"993b42c09eec6ba5411b7f9c966f05208260bb14","tarball":"https://registry.npmjs.org/hifile/-/hifile-1.0.1.tgz","integrity":"sha512-BrELZD1tU1jTLe5h6yCHmc63ajDDOYTGHlHMG4qxf6dTmnvsvkQWQv55bNfEt4+iHiueNN7DryrlxaHpI/D9GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHO/38/hZ6BM3E1Y1lf8EO5irJQKF1ATZSGZeyWGKjWOAiAZK8eShRlFMwKSMaiK396L9nouNpUHsdQWhSZMXZk8Jw=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"diff_sky","email":"matthew.hadley@gmail.com"},"maintainers":[{"name":"diff_sky","email":"matthew.hadley@gmail.com"}],"directories":{}},"1.1.2":{"name":"hifile","version":"1.1.2","description":"generate markup for highlight.js file viewer","main":"index.js","dependencies":{"highlight.js":"^8.0.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"homepage":"https://github.com/diffsky/hifile","_id":"hifile@1.1.2","dist":{"shasum":"ce59a47e6d601fddbf37cc186a50ab3987bc7443","tarball":"https://registry.npmjs.org/hifile/-/hifile-1.1.2.tgz","integrity":"sha512-B1r8Ulj6c+6TACCG7h9P7B1q8z3TXhNhbXeRYNdA+XD+TljVn+fyjgKkZeO/YzcxXmyH+B0VYWVY8P1cYgVMvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRcj2fOlOJkdiPjJD0XAiJY6YvhK4c1YVnzHp7Pm8wIQIgNbiJZaobLG4su5IZXQJNYBdbOjA4myorFj3O/9iPQcQ="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"diff_sky","email":"matthew.hadley@gmail.com"},"maintainers":[{"name":"diff_sky","email":"matthew.hadley@gmail.com"}],"directories":{}},"1.4.0":{"name":"hifile","version":"1.4.0","description":"generate markup for highlight.js file viewer","main":"index.js","scripts":{"test":"alias gulp='node_modules/gulp/bin/gulp.js' && gulp beautify && gulp eslint","beautify":"node_modules/gulp/bin/gulp.js beautify --write"},"dependencies":{"highlight.js":"^8.0.0"},"devDependencies":{"gulp-jsbeautifier":"0.0.2","gulp-eslint":"^0.1.8","gulp-diff":"^0.1.4","gulp":"^3.8.7","minimist":"^1.1.0"},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"homepage":"https://github.com/diffsky/hifile","_id":"hifile@1.4.0","dist":{"shasum":"1a0dfdfdf5d66287e7bc7827b08a6a76f11b3233","tarball":"https://registry.npmjs.org/hifile/-/hifile-1.4.0.tgz","integrity":"sha512-BQMALP7u2ZEpluO24xcUOZmVAZWGRiNE4Kh525yrJQD5Ff+Ebw2K3lScY2qfNUJbbGHrHEmCGue7aEsBmQJbnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNdWiwEyNkVA8rVI5otI9tzI7NCturZOY1SPp72OIusAiEAyve6X0yv1q0G4Sp7CWXfkem3MOVdYxZ1GdJtnT7xmkw="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"diff_sky","email":"matthew.hadley@gmail.com"},"maintainers":[{"name":"diff_sky","email":"matthew.hadley@gmail.com"}],"directories":{}},"2.0.0":{"name":"hifile","version":"2.0.0","description":"generate markup for highlight.js file viewer","main":"index.js","scripts":{"test":"npm run lint","lint":"eslint **/*.js","example":"node example/build.js"},"dependencies":{"highlight.js":"^9.12.0"},"devDependencies":{"eslint":"^4.7.1","eslint-config-semistandard":"^11.0.0","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.7.0","eslint-plugin-node":"^5.1.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1"},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":"","license":"UNLICENSED","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"homepage":"https://github.com/diffsky/hifile#readme","directories":{"example":"example"},"eslintConfig":{"extends":"semistandard"},"files":["index.js","lib/"],"gitHead":"1ad8ee7f2f15ad605cca15f4403be8841614cbe8","_id":"hifile@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"diffsky","email":"matthew.hadley@gmail.com"},"dist":{"integrity":"sha512-kJigeN0MqhlUo3WfVgMVeqo6sDmQ+YB0ezpcogIqncoV4PMal7guUXMH6+CL3t9LTnHsrGANXDoYIV4/C34MHg==","shasum":"07f13eef2601da501d624559f8f465cf15c3866b","tarball":"https://registry.npmjs.org/hifile/-/hifile-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/ckGGA6QiBRuMvpCSY+ktP2DykNAMvUA3GlwTLTPCaAIhAMkLHW/IUEJ7hJ677dBDgb1ZgnFteHEuLG7ob4UXETht"}]},"maintainers":[{"name":"diffsky","email":"matthew.hadley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hifile-2.0.0.tgz_1513193437951_0.23273273231461644"}},"2.1.0":{"name":"hifile","version":"2.1.0","description":"generate markup for highlight.js file viewer","main":"index.js","scripts":{"test":"npm run lint","lint":"eslint **/*.js","example":"node example/build.js"},"dependencies":{"highlight.js":"^9.12.0"},"devDependencies":{"eslint":"^4.13.1","eslint-config-semistandard":"^11.0.0","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1"},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":"","license":"UNLICENSED","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"homepage":"https://github.com/diffsky/hifile#readme","directories":{"example":"example"},"eslintConfig":{"extends":"semistandard"},"files":["index.js","assets"],"gitHead":"aafc3c678566afeee47de5503acfce1fa4567695","_id":"hifile@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"diffsky","email":"matthew.hadley@gmail.com"},"dist":{"integrity":"sha512-7nhQwTjH8IKPtvnviO2uYcScL5v7D9MYGn8nuhYG60ULmc3QGVuHQnI0Ltg+tHXY8kQwvMHKSw/cdjpVwP6eiw==","shasum":"9a9f00752a9ed1d3cc8e6f12faee7796074b54fa","tarball":"https://registry.npmjs.org/hifile/-/hifile-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEf3QuDAEZt+d+sXjdfrArlHXPU1GhU7eji2f/fhcXepAiA1qJD8Zh+aLXda4Trl4YI7ctPlrqzFggjX0DCuL/62iQ=="}]},"maintainers":[{"name":"diffsky","email":"matthew.hadley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hifile-2.1.0.tgz_1513193940385_0.9218502833973616"}},"2.1.1":{"name":"hifile","version":"2.1.1","description":"generate markup for highlight.js file viewer","main":"index.js","scripts":{"test":"npm run lint","lint":"eslint **/*.js","example":"node example/build.js"},"dependencies":{"highlight.js":"^9.12.0"},"devDependencies":{"eslint":"^4.13.1","eslint-config-semistandard":"^11.0.0","eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1"},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"keywords":["highlight","highlight.js","file","viewer"],"author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/diffsky/hifile/issues"},"homepage":"https://github.com/diffsky/hifile#readme","eslintConfig":{"extends":"semistandard"},"gitHead":"18c02415202f3e11b4fd9b01e1fc34100a40c58d","_id":"hifile@2.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"diffsky","email":"matthew.hadley@gmail.com"},"dist":{"integrity":"sha512-mfVZN/ZTwV8IAPfzaAJrEZR9iMUvhXoOXDxup9T1G6qseudv0FUzP6xBeln4SaOthNExihBIj/dXpEbJXsd+5A==","shasum":"18838417393310af0b3b4d6df78f02a4b9770ed7","tarball":"https://registry.npmjs.org/hifile/-/hifile-2.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXyEKPk2yzZGceXXTxc2aDFOgvNS5mZiT7+2+QwjWbYwIgJJrJV9w9gqlnErLi0NmEm87wf/Ig0JKOO2uDumdHPGI="}]},"maintainers":[{"name":"diffsky","email":"matthew.hadley@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hifile-2.1.1.tgz_1513195270116_0.4698886245023459"},"directories":{}}},"readme":"# hifile [![](https://travis-ci.org/diffsky/hifile.svg)](https://travis-ci.org/diffsky/hifile)\n\nGenerate file viewer markup for highlighted strings from [highlight.js](https://github.com/isagalaev/highlight.js)\n\n![hifile output](https://raw.githubusercontent.com/diffsky/hifile/master/example/file.png)\n\nLive demo of example output [available on rawgit.com](https://cdn.rawgit.com/diffsky/hifile/b6488b27775794dabafa508a17ed2b4cf2f69bc2/example/hifile.html#L12).\n\n## Usage\n\n```\nvar hifile = require('hifile');\n\nvar str = fs.readFileSync(path.join(__dirname, 'example.js'), 'utf8');\nvar markup = hifile(str, 'js');\n```\n\nPresentation and behaviour are provided via:\n\n- `assets/css/hifile.css`\n- `assets/js/hifile.js` with\n- `assets/css/hljs-theme-*.css` for highlight theming\n\nWhen served to the browser with the markup, line numbers and line highlighting will be available.\n","maintainers":[{"email":"matthew.hadley+npm@gmail.com","name":"matthewhadley"}],"time":{"modified":"2022-06-18T20:39:25.847Z","created":"2013-03-26T18:42:51.191Z","0.0.1":"2013-03-26T18:42:52.288Z","0.0.2":"2013-09-03T00:49:21.644Z","0.0.3":"2013-10-02T06:36:17.532Z","0.0.4":"2013-10-07T19:41:16.564Z","1.0.0":"2014-05-07T07:37:02.807Z","1.0.1":"2014-05-07T16:54:22.733Z","1.1.2":"2014-05-16T21:22:05.339Z","1.4.0":"2014-08-18T22:52:13.705Z","2.0.0":"2017-12-13T19:30:38.026Z","2.1.0":"2017-12-13T19:39:00.509Z","2.1.1":"2017-12-13T20:01:10.189Z"},"repository":{"type":"git","url":"git://github.com/diffsky/hifile.git"},"homepage":"https://github.com/diffsky/hifile#readme","keywords":["highlight","highlight.js","file","viewer"],"bugs":{"url":"https://github.com/diffsky/hifile/issues"},"license":"MIT","readmeFilename":"README.md","author":{"name":"Matthew Hadley","email":"matthew.hadley@gmail.com"}}