{"_id":"gulp-js-escape","_rev":"5-0ebc8beadb2c69981d5876bc6ac883ab","name":"gulp-js-escape","description":"Gulp plugin to turn a file into a JavaScript escaped string","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"gulp-js-escape","version":"1.0.0","description":"Gulp plugin to turn a file into a JavaScript escaped string","main":"index.js","scripts":{"test":"mocha"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"mocha":"^2.1.0","vinyl":"^0.4.6","expect":"^1.5.0","stream-collect":"^1.0.1"},"repository":{"type":"git","url":"https://github.com/mrdaniellewis/gulp-js-escape"},"author":{"name":"Daniel Lewis"},"license":"ISC","gitHead":"98f9c5dfab0054a094b4a771588a3bd8f91d7388","bugs":{"url":"https://github.com/mrdaniellewis/gulp-js-escape/issues"},"homepage":"https://github.com/mrdaniellewis/gulp-js-escape","_id":"gulp-js-escape@1.0.0","_shasum":"d963edcd4c7479d30d74a571f43a912588a7d92e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mrdaniellewis","email":"npm@mrdaniellewis.co.uk"},"maintainers":[{"name":"mrdaniellewis","email":"npm@mrdaniellewis.co.uk"}],"dist":{"shasum":"d963edcd4c7479d30d74a571f43a912588a7d92e","tarball":"https://registry.npmjs.org/gulp-js-escape/-/gulp-js-escape-1.0.0.tgz","integrity":"sha512-0aw2ZRtMoxP9rJAhrDDL+6B94WvpeL8ePPuIZJJ8i4sYJQGRwDpTNR06rBalKj+SKnHt+TMtlyyO/fdBKbCVTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtHPzAGfZ6PP2I7E2jcHswQMd9vC7s+Lxb9fiR2cgW0gIgJkDlI/q4ZRG9hJExo8cVKuUVzJWxreJFjhKBMF9tC3U="}]}},"1.0.1":{"name":"gulp-js-escape","version":"1.0.1","description":"Gulp plugin to turn a file into a JavaScript escaped string","keywords":["gulpplugin","gulp","escape","javascript"],"main":"index.js","scripts":{"test":"mocha"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"mocha":"^2.1.0","vinyl":"^0.4.6","expect":"^1.5.0","stream-collect":"^1.0.1"},"repository":{"type":"git","url":"git+https://github.com/mrdaniellewis/gulp-js-escape.git"},"author":{"name":"Daniel Lewis"},"license":"ISC","gitHead":"ec3414ceef5e6dfe9b11d1b930dd163c0e885d88","bugs":{"url":"https://github.com/mrdaniellewis/gulp-js-escape/issues"},"homepage":"https://github.com/mrdaniellewis/gulp-js-escape#readme","_id":"gulp-js-escape@1.0.1","_shasum":"1cd445fbd009e0da76959a03a7f49b3566aff868","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.1","_npmUser":{"name":"mrdaniellewis","email":"npm@mrdaniellewis.co.uk"},"maintainers":[{"name":"mrdaniellewis","email":"npm@mrdaniellewis.co.uk"}],"dist":{"shasum":"1cd445fbd009e0da76959a03a7f49b3566aff868","tarball":"https://registry.npmjs.org/gulp-js-escape/-/gulp-js-escape-1.0.1.tgz","integrity":"sha512-F+53crhLb78CTlG7ZZJFWzP0+/4q0vt2/pULXFkTMs6AGBo0Eh5cx+eWsqqHv8hrNIUsuTab3Se8rOOzP/6+EQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhLSVCxWeeWs2znbgvBwyk/L/ZdU0Bd0Fg/k5Wlg1KeAiAkzeEDEvcYWwo0IAOm/pgvRKnuZg56raHdPukBI06X7Q=="}]}}},"readme":"# Gulp JavaScript escape\n\n[![npm version](https://badge.fury.io/js/gulp-js-escape.svg)](http://badge.fury.io/js/gulp-js-escape)\n\nA Gulp plugin that turns a file into a JavaScript escaped string.\n\n```js\nvar jsEscape = require('gulp-js-escape');\n\n// file.htm -> some text \"needing\" escaped\n\ngulp.src( 'file.htm' )\n\t.pipe( jsEscape() )\n\t.dest( 'escaped.js' )\n\n// escaped.js -> \"some text \\\"needing\\\" escaped\"\n```\n\n## `jsEscape( options )`\n\n* `options.omitDelimiters` Boolean, default = false, if true the quotes around the string are omitted.\n\nReturns Gulp Vinyl transform object stream.\n\nNote that the encoding is assumed to be utf-8.  If a different encoding is required then use (another plugin)[https://www.npmjs.com/package/gulp-convert-encoding/] to convert the stream first.","maintainers":[{"name":"mrdaniellewis","email":"npm@mrdaniellewis.co.uk"}],"time":{"modified":"2022-06-18T17:21:41.365Z","created":"2015-02-03T09:03:49.158Z","1.0.0":"2015-02-03T09:03:49.158Z","1.0.1":"2015-06-14T21:23:20.011Z"},"homepage":"https://github.com/mrdaniellewis/gulp-js-escape#readme","repository":{"type":"git","url":"git+https://github.com/mrdaniellewis/gulp-js-escape.git"},"author":{"name":"Daniel Lewis"},"bugs":{"url":"https://github.com/mrdaniellewis/gulp-js-escape/issues"},"license":"ISC","readmeFilename":"README.md","keywords":["gulpplugin","gulp","escape","javascript"]}