{"versions":{"0.1.3":{"name":"esformatter-ignore","version":"0.1.3","description":"an esformatter plugin to make esformatter ignore certain lines and blocks of code","repository":{"type":"git","url":"git+https://github.com/royriojas/esformatter-ignore.git"},"license":"MIT","author":{"name":"Roy Riojas","url":"http://royriojas.com"},"main":"index.js","files":["index.js"],"engines":{"node":">=0.10.0"},"prepush":["npm run check"],"precommit":["npm run check"],"scripts":{"beautify":"esbeautifier 'index.js' 'specs/**/*.spec.js'","beautify-check":"esbeautifier -k 'index.js' 'specs/**/*.spec.js'","eslint":"eslinter 'index.js' 'specs/**/*.spec.js'","test":"mocha-runner 'specs/**/*.spec.js'","cover":"istanbul cover -x 'specs/**/*.spec.js' mocha-runner 'specs/**/*.spec.js' html text-summary","watch":"npm run cover && watch-spawn -p 'specs/**/*.spec.js' -p 'index.js' -p  npm run cover","lint":"npm run beautify && npm run eslint && npm test","check":"npm run beautify-check && npm run eslint && npm test","changelog":"changelogx -f markdown -o ./changelog.md","do-changelog":"npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify","install-hooks":"prepush install && changelogx install-hook && precommit install","pre-v":"npm run check","post-v":"npm run do-changelog && git push --no-verify && git push --tags --no-verify","bump-major":"npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v","bump-minor":"npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v","bump-patch":"npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v","exec-demo":"cd demo && node runner.js"},"keywords":["esformatter-plugin","esformatter","ignore block","ignore line","AST","codestyle","ignore code block"],"peerDependencies":{},"dependencies":{},"devDependencies":{"changelogx":"^1.0.18","esbeautifier":"^3.2.0","esformatter":"^0.7.3","eslinter":"^2.0.6","istanbul":"^0.3.17","mocha-runner":"^1.0.8","precommit":"^1.1.5","prepush":"^3.1.4","proxyquire":"^1.6.0","watch-spawn":"^1.0.3"},"changelogx":{"ignoreRegExp":["BLD: Release","DOC: Generate Changelog","Generated Changelog"],"issueIDRegExp":"#(\\d+)","commitURL":"https://github.com/royriojas/esformatter-ignore/commit/{0}","authorURL":"https://github.com/{0}","issueIDURL":"https://github.com/royriojas/esformatter-ignore/issues/{0}","projectName":"esformatter-ignore"},"gitHead":"986afc0472110a0caa5d1a2b0da7a47d77c0500d","bugs":{"url":"https://github.com/royriojas/esformatter-ignore/issues"},"homepage":"https://github.com/royriojas/esformatter-ignore#readme","_id":"esformatter-ignore@0.1.3","_shasum":"04d3b875bfa49dde004cc58df6f6bbc3c0567f1e","_from":".","_npmVersion":"2.14.5","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"royriojas@gmail.com"},"maintainers":[{"name":"anonymous","email":"royriojas@gmail.com"}],"dist":{"shasum":"04d3b875bfa49dde004cc58df6f6bbc3c0567f1e","size":3584,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esformatter-ignore/-/esformatter-ignore-0.1.3.tgz","integrity":"sha512-ZM0RwGzYKsoV0hDePjClUkZV3lImUiul0ppVvfJf3KVEbf+qRY4oRpL0oZETOMtmv8TL5Xua9371iiRVMnRRQg=="},"directories":{},"publish_time":1444329101910,"_hasShrinkwrap":false,"_cnpm_publish_time":1444329101910,"_cnpmcore_publish_time":"2021-12-16T18:16:07.134Z","contributors":[]},"0.1.2":{"name":"esformatter-ignore","version":"0.1.2","description":"an esformatter plugin to make esformatter ignore certain lines and blocks of code","repository":{"type":"git","url":"git+https://github.com/royriojas/esformatter-ignore.git"},"license":"MIT","author":{"name":"Roy Riojas","url":"http://royriojas.com"},"main":"index.js","files":["index.js"],"engines":{"node":">=0.10.0"},"prepush":["npm run check"],"precommit":["npm run check"],"scripts":{"beautify":"esbeautifier 'index.js' 'specs/**/*.spec.js'","beautify-check":"esbeautifier -k 'index.js' 'specs/**/*.spec.js'","eslint":"eslinter 'index.js' 'specs/**/*.spec.js'","test":"mocha-runner 'specs/**/*.spec.js'","cover":"istanbul cover -x 'specs/**/*.spec.js' mocha-runner 'specs/**/*.spec.js' html text-summary","watch":"npm run cover && watch-spawn -p 'specs/**/*.spec.js' -p 'index.js' -p  npm run cover","lint":"npm run beautify && npm run eslint && npm test","check":"npm run beautify-check && npm run eslint && npm test","changelog":"changelogx -f markdown -o ./changelog.md","do-changelog":"npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify","install-hooks":"prepush install && changelogx install-hook && precommit install","pre-v":"npm run check","post-v":"npm run do-changelog && git push --no-verify && git push --tags --no-verify","bump-major":"npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v","bump-minor":"npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v","bump-patch":"npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v","exec-demo":"cd demo && node runner.js"},"keywords":["esformatter-plugin","esformatter","ignore block","ignore line","AST","codestyle","ignore code block"],"peerDependencies":{},"dependencies":{},"devDependencies":{"changelogx":"^1.0.18","esbeautifier":"^3.2.0","esformatter":"^0.7.3","eslinter":"^2.0.6","istanbul":"^0.3.17","mocha-runner":"^1.0.8","precommit":"^1.1.5","prepush":"^3.1.4","proxyquire":"^1.6.0","watch-spawn":"^1.0.3"},"changelogx":{"ignoreRegExp":["BLD: Release","DOC: Generate Changelog","Generated Changelog"],"issueIDRegExp":"#(\\d+)","commitURL":"https://github.com/royriojas/esformatter-ignore/commit/{0}","authorURL":"https://github.com/{0}","issueIDURL":"https://github.com/royriojas/esformatter-ignore/issues/{0}","projectName":"esformatter-ignore"},"gitHead":"42bcd6e5080502c62f1a2e1a85f67eb80e611ce6","bugs":{"url":"https://github.com/royriojas/esformatter-ignore/issues"},"homepage":"https://github.com/royriojas/esformatter-ignore#readme","_id":"esformatter-ignore@0.1.2","_shasum":"d8730c35620e4b55a7304e5b54f9805ddd7ae10b","_from":".","_npmVersion":"2.14.5","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"royriojas@gmail.com"},"maintainers":[{"name":"anonymous","email":"royriojas@gmail.com"}],"dist":{"shasum":"d8730c35620e4b55a7304e5b54f9805ddd7ae10b","size":3522,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esformatter-ignore/-/esformatter-ignore-0.1.2.tgz","integrity":"sha512-KwFvBBu8yAp8D+aKae9SIJna2K3+sP0e5908gJ664RFWoi2wE4if3Z5U3NKIoHhhzbCedwndH+j07VcTpYHrqA=="},"directories":{},"publish_time":1443719792713,"_hasShrinkwrap":false,"_cnpm_publish_time":1443719792713,"_cnpmcore_publish_time":"2021-12-16T18:16:07.396Z","contributors":[]},"0.1.1":{"name":"esformatter-ignore","version":"0.1.1","description":"an esformatter plugin to make esformatter ignore certain lines and blocks of code","repository":{"type":"git","url":"git+https://github.com/royriojas/esformatter-ignore.git"},"license":"MIT","author":{"name":"Roy Riojas","url":"http://royriojas.com"},"main":"index.js","files":["index.js"],"engines":{"node":">=0.10.0"},"prepush":["npm run check"],"precommit":["npm run check"],"scripts":{"beautify":"esbeautifier 'index.js' 'specs/**/*.spec.js'","beautify-check":"esbeautifier -k 'index.js' 'specs/**/*.spec.js'","eslint":"eslinter 'index.js' 'specs/**/*.spec.js'","test":"mocha-runner 'specs/**/*.spec.js'","cover":"istanbul cover -x 'specs/**/*.spec.js' mocha-runner 'specs/**/*.spec.js' html text-summary","watch":"npm run cover && watch-spawn -p 'specs/**/*.spec.js' -p 'index.js' -p  npm run cover","lint":"npm run beautify && npm run eslint && npm test","check":"npm run beautify-check && npm run eslint && npm test","changelog":"changelogx -f markdown -o ./changelog.md","do-changelog":"npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify","install-hooks":"prepush install && changelogx install-hook && precommit install","pre-v":"npm run check","post-v":"npm run do-changelog && git push --no-verify && git push --tags --no-verify","bump-major":"npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v","bump-minor":"npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v","bump-patch":"npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v","exec-demo":"cd demo && node runner.js"},"keywords":["esformatter-plugin","esformatter","ignore block","ignore line","AST","codestyle","ignore code block"],"peerDependencies":{},"dependencies":{},"devDependencies":{"changelogx":"^1.0.18","esbeautifier":"^3.2.0","esformatter":"^0.7.3","eslinter":"^2.0.6","istanbul":"^0.3.17","mocha-runner":"^1.0.8","precommit":"^1.1.5","prepush":"^3.1.4","proxyquire":"^1.6.0","watch-spawn":"^1.0.3"},"changelogx":{"ignoreRegExp":["BLD: Release","DOC: Generate Changelog","Generated Changelog"],"issueIDRegExp":"#(\\d+)","commitURL":"https://github.com/royriojas/esformatter-ignore/commit/{0}","authorURL":"https://github.com/{0}","issueIDURL":"https://github.com/royriojas/esformatter-ignore/issues/{0}","projectName":"esformatter-ignore"},"gitHead":"4422d65b3e2e867d15240c58f58d3325eb14270c","bugs":{"url":"https://github.com/royriojas/esformatter-ignore/issues"},"homepage":"https://github.com/royriojas/esformatter-ignore#readme","_id":"esformatter-ignore@0.1.1","_shasum":"e5d9d5b9713a425e4c731975321f3b76b95ab769","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.0","_npmUser":{"name":"anonymous","email":"royriojas@gmail.com"},"maintainers":[{"name":"anonymous","email":"royriojas@gmail.com"}],"dist":{"shasum":"e5d9d5b9713a425e4c731975321f3b76b95ab769","size":3432,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esformatter-ignore/-/esformatter-ignore-0.1.1.tgz","integrity":"sha512-nxUTtwxr7nn08Me1pK/U+rRRYYrza7II/WeKVX2/XPekxTQnm3sPSdmZ42sN/qxzOu1s9qGaeZtBVXe2uD680Q=="},"directories":{},"publish_time":1442898319771,"_hasShrinkwrap":false,"_cnpm_publish_time":1442898319771,"_cnpmcore_publish_time":"2021-12-16T18:16:07.593Z","contributors":[]},"0.1.0":{"name":"esformatter-ignore","version":"0.1.0","description":"an esformatter plugin to ignore code blocks and lines from the formatting task","repository":{"type":"git","url":"git+https://github.com/royriojas/esformatter-ignore.git"},"license":"MIT","author":{"name":"Roy Riojas","url":"http://royriojas.com"},"main":"index.js","files":["index.js"],"engines":{"node":">=0.10.0"},"prepush":["npm run check"],"precommit":["npm run check"],"scripts":{"beautify":"esbeautifier 'index.js' 'lib/**/*.js' 'specs/**/*.spec.js'","beautify-check":"esbeautifier -k 'index.js' 'lib/**/*.js' 'specs/**/*.spec.js'","eslint":"eslinter 'index.js' 'lib/**/*.js' 'specs/**/*.spec.js'","test":"mocha-runner 'specs/**/*.spec.js'","cover":"istanbul cover -x 'specs/**/*.spec.js' mocha-runner 'specs/**/*.spec.js' html text-summary","watch":"npm run cover && watch-spawn -p 'specs/**/*.spec.js' -p 'index.js' -p  npm run cover","lint":"npm run beautify && npm run eslint && npm test","check":"npm run beautify-check && npm run eslint && npm test","changelog":"changelogx -f markdown -o ./changelog.md","do-changelog":"npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify","install-hooks":"prepush install && changelogx install-hook && precommit install","pre-v":"npm run check","post-v":"npm run do-changelog && git push --no-verify && git push --tags --no-verify","bump-major":"npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v","bump-minor":"npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v","bump-patch":"npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v","exec-demo":"cd demo && node runner.js"},"keywords":["esformatter-plugin","esformatter","ignore block","ignore line","AST","codestyle","ignore code block"],"peerDependencies":{},"dependencies":{},"devDependencies":{"changelogx":"^1.0.18","esbeautifier":"^3.2.0","esformatter":"^0.7.3","eslinter":"^2.0.6","istanbul":"^0.3.17","mocha-runner":"^1.0.8","precommit":"^1.1.5","prepush":"^3.1.4","proxyquire":"^1.6.0","watch-spawn":"^1.0.3"},"changelogx":{"ignoreRegExp":["BLD: Release","DOC: Generate Changelog","Generated Changelog"],"issueIDRegExp":"#(\\d+)","commitURL":"https://github.com/royriojas/esformatter-ignore/commit/{0}","authorURL":"https://github.com/{0}","issueIDURL":"https://github.com/royriojas/esformatter-ignore/issues/{0}","projectName":"esformatter-ignore"},"gitHead":"3b5220901a41cd5f3d1d33c9187c871ce5bb7960","bugs":{"url":"https://github.com/royriojas/esformatter-ignore/issues"},"homepage":"https://github.com/royriojas/esformatter-ignore#readme","_id":"esformatter-ignore@0.1.0","_shasum":"37478e4854a66339fc92116c0a1e261c57d769b0","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.0","_npmUser":{"name":"anonymous","email":"royriojas@gmail.com"},"maintainers":[{"name":"anonymous","email":"royriojas@gmail.com"}],"dist":{"shasum":"37478e4854a66339fc92116c0a1e261c57d769b0","size":4338,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esformatter-ignore/-/esformatter-ignore-0.1.0.tgz","integrity":"sha512-tUR/+beS8eYfUsFfANONRN/QOLD9dhmAlKtvfT1ZydSg7kma+U3V+dOyUb1xYXZcr1xMRiy41D+xQ0MZCwqxEw=="},"directories":{},"publish_time":1442897290150,"_hasShrinkwrap":false,"_cnpm_publish_time":1442897290150,"_cnpmcore_publish_time":"2021-12-16T18:16:07.810Z","contributors":[]}},"dist-tags":{"latest":"0.1.3"},"name":"esformatter-ignore","time":{"created":"2022-01-26T13:27:58.596Z","modified":"2023-03-18T00:35:46.187Z","0.1.3":"2015-10-08T18:31:41.910Z","0.1.2":"2015-10-01T17:16:32.713Z","0.1.1":"2015-09-22T05:05:19.771Z","0.1.0":"2015-09-22T04:48:10.150Z"},"readme":"# [esformatter](https://github.com/millermedeiros/esformatter)-jsx\n> an esformatter plugin to make esformatter ignore certain lines and blocks of code\n\n[![NPM Version](http://img.shields.io/npm/v/esformatter-ignore.svg?style=flat)](https://npmjs.org/package/esformatter-ignore)\n[![Build Status](http://img.shields.io/travis/royriojas/esformatter-ignore.svg?style=flat)](https://travis-ci.org/royriojas/esformatter-ignore)\n\n## Overview\n\n**esformatter-ignore** is a plugin for [esformatter](https://github.com/millermedeiros/esformatter) meant to allow\ncertain lines and blocks of code to be ignored by esformatter\n\n**Example**\n\n```javascript\nvar someVar = 'foo';\nif (someVar) {\n  /*esfmt-ignore-start*/\n// you want for some reason this block to remain untoched by the formatter\n// most use cases are for certain cases where the formatter produces some buggy\n// output like these cases:\n// - https://github.com/millermedeiros/esformatter/issues/359\n// - https://github.com/millermedeiros/esformatter/issues/358\n// - https://github.com/millermedeiros/esformatter/issues/347\ncache.setKey( 'persistifyArgs', {\ncache: browserifyOpts.cache,\npackageCache: browserifyOpts.packageCache\n} );\n    /*esfmt-ignore-end*/\n}\n```\n\nIf you want to ignore only a single line you can also do it by doing\n\n```javascript\nif (someKey) {\n  // ignoring next line cause esformatter@7.0.3\n  // mistakenly move the semicolon to the next line\n  delete objectCache[someKey]; // esfmt-ignore-line\n}\n```\n\n## Installation\n\n```sh\n$ npm install esformatter-ignore --save-dev\n```\n\n## Config\n\nNewest esformatter versions autoload plugins from your `node_modules` [See this](https://github.com/millermedeiros/esformatter#plugins)\n\nAdd to your esformatter config file:\n\nIn order for this to work, this plugin should be the first one! (I Know too picky, but who isn't).\n\n```javascript\n{\n  \"plugins\": [\n    \"esformatter-ignore\"\n  ]\n}\n```\n\nOr you can manually register your plugin:\n\n```js\n// register plugin\nesformatter.register(require('esformatter-ignore'));\n```\n\n## node usage\n\n```js\nvar fs = require('fs');\nvar esformatter = require('esformatter');\n//register plugin manually\nesformatter.register(require('esformatter-ignore'));\n\nvar str = fs.readFileSync('./someKewlFile.js').toString();\nvar output = esformatter.format(str);\n//-> output will now contain the formatted code with the blocks marked to be ignored remain intact\n```\n\nSee [esformatter](https://github.com/millermedeiros/esformatter) for more options and further usage info.\n\n## License\n\n[MIT](License)","users":{}}