{"_id":"ejs-lint","_rev":"2794284","name":"ejs-lint","description":"Linter/Syntax Checker for EJS Templates","dist-tags":{"latest":"1.2.2"},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"time":{"modified":"2022-07-07T07:45:01.000Z","created":"2016-05-07T17:51:42.078Z","1.2.2":"2022-05-10T15:24:05.503Z","1.2.1":"2021-07-15T02:24:04.722Z","1.2.0":"2021-04-08T00:43:18.799Z","1.1.0":"2020-04-10T13:51:27.935Z","1.0.1":"2020-01-09T01:23:20.643Z","1.0.0":"2020-01-09T01:10:56.879Z","0.3.0":"2017-04-07T19:27:30.684Z","0.2.0":"2016-05-30T22:51:19.609Z","0.1.1":"2016-05-07T17:51:42.078Z"},"users":{},"author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"versions":{"1.2.2":{"name":"ejs-lint","version":"1.2.2","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"cli.js"},"scripts":{"format":"eslint . --fix && npm run prettier -- --write","lint":"npm run prettier -- --list-different && eslint .","prettier":"prettier **/*.{js,md}","test":"npm run unit && npm run lint","try":"./cli.js try.ejs","unit":"nyc --check-coverage mocha --ui tdd --check-leaks"},"dependencies":{"chalk":"^4.0.0","ejs":"3.1.7","ejs-include-regex":"^1.0.0","globby":"^11.0.0","read-input":"^0.3.1","slash":"^3.0.0","syntax-error":"^1.1.6","yargs":"^16.0.0"},"devDependencies":{"eslint":"^7.9.0","eslint-config-problems":"^5.0.0","mocha":"^8.0.0","nyc":"^15.0.0","prettier":"^2.0.0"},"prettier":{"singleQuote":true,"trailingComma":"all"},"renovate":{"extends":["config:base",":preserveSemverRanges",":label(deps)"]},"gitHead":"a9c56a4ec9f0aaecf712887108619890921ed232","_id":"ejs-lint@1.2.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"b17e5239efd797dca2e7960e0f22c996d9a96f1b","size":4024,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-1.2.2.tgz"},"_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"directories":{},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ejs-lint_1.2.2_1652196245264_0.25317014546480343"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-10T16:50:21.067Z","publish_time":1652196245503,"_cnpm_publish_time":1652196245503},"1.2.1":{"name":"ejs-lint","version":"1.2.1","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"cli.js"},"scripts":{"format":"eslint . --fix && npm run prettier -- --write","lint":"npm run prettier -- --list-different && eslint .","prettier":"prettier **/*.{js,md}","test":"npm run unit && npm run lint","try":"./cli.js try.ejs","unit":"nyc --check-coverage mocha --ui tdd --check-leaks"},"dependencies":{"chalk":"^4.0.0","ejs":"3.1.6","ejs-include-regex":"^1.0.0","globby":"^11.0.0","read-input":"^0.3.1","slash":"^3.0.0","syntax-error":"^1.1.6","yargs":"^16.0.0"},"devDependencies":{"eslint":"^7.9.0","eslint-config-problems":"^5.0.0","mocha":"^8.0.0","nyc":"^15.0.0","prettier":"^2.0.0"},"prettier":{"singleQuote":true,"trailingComma":"all"},"renovate":{"extends":["config:base",":preserveSemverRanges",":label(deps)"]},"gitHead":"7390cb072037ae6f32fe7e9787c8fd1cf3b3c772","_id":"ejs-lint@1.2.1","_nodeVersion":"15.6.0","_npmVersion":"7.4.0","dist":{"shasum":"6fa164ed470183f19b1150052f92fd25159a938d","size":4042,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-1.2.1.tgz"},"_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"directories":{},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ejs-lint_1.2.1_1626315844557_0.16332030380890283"},"_hasShrinkwrap":false,"publish_time":1626315844722,"_cnpm_publish_time":1626315844722,"_cnpmcore_publish_time":"2021-12-16T16:30:59.793Z"},"1.2.0":{"name":"ejs-lint","version":"1.2.0","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"cli.js"},"scripts":{"format":"eslint . --fix && npm run prettier -- --write","lint":"npm run prettier -- --list-different && eslint .","prettier":"prettier **/*.{js,md}","test":"npm run unit && npm run lint","try":"./cli.js try.ejs","unit":"nyc --check-coverage mocha --ui tdd --check-leaks"},"dependencies":{"chalk":"^4.0.0","ejs":"3.1.5","ejs-include-regex":"^1.0.0","globby":"^11.0.0","read-input":"^0.3.1","slash":"^3.0.0","syntax-error":"^1.1.6","yargs":"^16.0.0"},"devDependencies":{"eslint":"^7.9.0","eslint-config-problems":"^5.0.0","mocha":"^8.0.0","nyc":"^15.0.0","prettier":"^2.0.0"},"prettier":{"singleQuote":true,"trailingComma":"all"},"renovate":{"extends":["config:base",":preserveSemverRanges",":label(deps)"]},"gitHead":"068badbdee05e8786d8635b7868c855b34da07fa","_id":"ejs-lint@1.2.0","_nodeVersion":"15.6.0","_npmVersion":"7.4.0","dist":{"shasum":"5c98dcc75e0480d0a742e23fbeff5ccc3e700503","size":4042,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-1.2.0.tgz"},"_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"directories":{},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ejs-lint_1.2.0_1617842598676_0.9199527838046926"},"_hasShrinkwrap":false,"publish_time":1617842598799,"_cnpm_publish_time":1617842598799,"_cnpmcore_publish_time":"2021-12-16T16:31:00.075Z"},"1.1.0":{"name":"ejs-lint","version":"1.1.0","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"cli.js"},"scripts":{"format":"eslint . --fix && npm run prettier -- --write","lint":"npm run prettier -- --list-different && eslint .","prettier":"prettier **/*.{js,md}","test":"npm run unit && npm run lint","try":"./cli.js try.ejs","unit":"nyc --check-coverage mocha --ui tdd --check-leaks"},"dependencies":{"chalk":"^4.0.0","ejs":"3.0.1","ejs-include-regex":"^1.0.0","globby":"^11.0.0","read-input":"^0.3.1","rewire":"^5.0.0","syntax-error":"^1.1.6","yargs":"^15.0.0"},"devDependencies":{"eslint":"^6.0.0","eslint-config-problems":"^4.0.0","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^2.0.0"},"prettier":{"singleQuote":true,"trailingComma":"all"},"renovate":{"extends":["config:base",":preserveSemverRanges",":label(deps)"]},"gitHead":"23d36f2bd688078184a3d598669093f891cfd86c","_id":"ejs-lint@1.1.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"f3fd7b164fde618bcefb8e5ece8f9ac206739ce0","size":6112,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-1.1.0.tgz"},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ejs-lint_1.1.0_1586526687777_0.2628588756714849"},"_hasShrinkwrap":false,"publish_time":1586526687935,"_cnpm_publish_time":1586526687935,"_cnpmcore_publish_time":"2021-12-16T16:31:00.282Z"},"1.0.1":{"name":"ejs-lint","version":"1.0.1","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"./cli.js"},"scripts":{"format":"eslint . --fix && npm run prettier -- --write","lint":"npm run prettier -- --list-different && eslint .","prettier":"prettier **/*.{js,md}","test":"npm run unit && npm run lint","try":"./cli.js try.ejs","unit":"nyc --check-coverage mocha --ui tdd --check-leaks"},"dependencies":{"ejs":"3.0.1","ejs-include-regex":"^1.0.0","globby":"^11.0.0","read-input":"^0.3.1","rewire":"^4.0.0","syntax-error":"^1.1.6","yargs":"^15.0.0"},"devDependencies":{"eslint":"^6.0.0","eslint-config-problems":"^3.1.0","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1"},"prettier":{"singleQuote":true,"trailingComma":"all","endOfLine":"lf"},"renovate":{"extends":["config:base",":preserveSemverRanges",":label(deps)"]},"gitHead":"bdd79c75b9817799c8642fdc708da03caf9c2776","_id":"ejs-lint@1.0.1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"f4be32e836854c9c1da643166d18db2e5dbf14d0","size":5837,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-1.0.1.tgz"},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ejs-lint_1.0.1_1578533000547_0.7578578015243584"},"_hasShrinkwrap":false,"publish_time":1578533000643,"_cnpm_publish_time":1578533000643,"_cnpmcore_publish_time":"2021-12-16T16:31:00.470Z"},"1.0.0":{"name":"ejs-lint","version":"1.0.0","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"./cli.js"},"scripts":{"format":"eslint . --fix && npm run prettier -- --write","lint":"npm run prettier -- --list-different && eslint .","prettier":"prettier **/*.{js,md}","test":"npm run unit && npm run lint","try":"./cli.js try.ejs","unit":"nyc --check-coverage mocha --ui tdd --check-leaks"},"dependencies":{"ejs":"3.0.1","ejs-include-regex":"^1.0.0","globby":"^11.0.0","read-input":"^0.3.1","rewire":"^4.0.0","syntax-error":"^1.1.6","yargs":"^15.0.0"},"devDependencies":{"eslint":"^6.0.0","eslint-config-problems":"^3.1.0","mocha":"^7.0.0","nyc":"^15.0.0","prettier":"^1.19.1"},"prettier":{"singleQuote":true,"trailingComma":"all","endOfLine":"lf"},"renovate":{"extends":["config:base",":preserveSemverRanges",":label(deps)"]},"gitHead":"ddd43e7b14dbb524756624e1586b934744a815f2","_id":"ejs-lint@1.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"2e57307ccebb6073435fe80c4497b1fe4641f3eb","size":5874,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-1.0.0.tgz"},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ejs-lint_1.0.0_1578532256725_0.5894151892349762"},"_hasShrinkwrap":false,"publish_time":1578532256879,"_cnpm_publish_time":1578532256879,"_cnpmcore_publish_time":"2021-12-16T16:31:00.741Z"},"0.3.0":{"name":"ejs-lint","version":"0.3.0","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"./cli.js"},"scripts":{"test":"mocha && eslint .","cover":"istanbul cover node_modules/mocha/bin/_mocha","try":"./cli.js try.ejs"},"dependencies":{"ejs":"2.5.6","ejs-include-regex":"^1.0.0","globby":"^6.1.0","read-input":"^0.3.1","rewire":"^2.5.1","syntax-error":"^1.1.6","yargs":"^7.0.1"},"devDependencies":{"eslint":"^3.19.0","eslint-config-ryanzim":"0.0.2","istanbul":"^0.4.3","mocha":"^3.0.2"},"gitHead":"ec25d694500c126f9b086f04a70c728f1a759426","_id":"ejs-lint@0.3.0","_shasum":"7a8bd5f415f8822d9219b04043b5efc7b593d595","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"dist":{"shasum":"7a8bd5f415f8822d9219b04043b5efc7b593d595","size":5835,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-0.3.0.tgz"},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ejs-lint-0.3.0.tgz_1491593248883_0.014724261593073606"},"directories":{},"publish_time":1491593250684,"_hasShrinkwrap":false,"_cnpm_publish_time":1491593250684,"_cnpmcore_publish_time":"2021-12-16T16:31:00.989Z"},"0.2.0":{"name":"ejs-lint","version":"0.2.0","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"./cli.js"},"scripts":{"test":"mocha && jshint *.js test/**.js","cover":"istanbul cover node_modules/mocha/bin/_mocha","try":"./cli.js try.ejs"},"dependencies":{"ejs":"2.4.1","ejs-include-regex":"^1.0.0","glob":"^7.0.3","read-input":"^0.3.1","rewire":"^2.5.1","syntax-error":"^1.1.6","yargs":"^4.6.0"},"devDependencies":{"istanbul":"^0.4.3","jshint":"^2.9.2","mocha":"^2.4.5"},"gitHead":"8ba15892bad3bf8ae55dce69a64ac0e7e8e1ffbe","_id":"ejs-lint@0.2.0","_shasum":"3fdf72bd095e7e8fbc5110b69182bceba35a62d3","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"dist":{"shasum":"3fdf72bd095e7e8fbc5110b69182bceba35a62d3","size":6791,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-0.2.0.tgz"},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ejs-lint-0.2.0.tgz_1464648677565_0.39305572817102075"},"directories":{},"publish_time":1464648679609,"_hasShrinkwrap":false,"_cnpm_publish_time":1464648679609,"_cnpmcore_publish_time":"2021-12-16T16:31:01.212Z"},"0.1.1":{"name":"ejs-lint","version":"0.1.1","description":"Linter/Syntax Checker for EJS Templates","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com","url":"http://ryanzim.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ryanzim/ejs-lint.git"},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"main":"index.js","bin":{"ejslint":"./cli.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","try":"./cli.js try.ejs"},"dependencies":{"ejs-include-regex":"^1.0.0","glob":"^7.0.3","syntax-error":"^1.1.6","yargs":"^4.6.0"},"gitHead":"9b21af1b4178e70956cdbb5c075ddc87e2d65166","_id":"ejs-lint@0.1.1","_shasum":"2913d51006a7cfdfe195f5b6aa0a9bf5b92f9d43","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"dist":{"shasum":"2913d51006a7cfdfe195f5b6aa0a9bf5b92f9d43","size":25393,"noattachment":false,"key":"/ejs-lint/-/ejs-lint-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ejs-lint/download/ejs-lint-0.1.1.tgz"},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ejs-lint-0.1.1.tgz_1462643499820_0.1499105514958501"},"directories":{},"publish_time":1462643502078,"_hasShrinkwrap":false,"_cnpm_publish_time":1462643502078,"_cnpmcore_publish_time":"2021-12-16T16:31:01.468Z"}},"readme":"# EJS-Lint\n\nLinter/Syntax Checker for [EJS Templates](https://github.com/mde/ejs).\n\nThis was born out of [mde/ejs #119](https://github.com/mde/ejs/issues/119) and the frustration of the unhelpful errors thrown if you make a simple syntax error inside a scriptlet tag.\n\n## Features\n\nEJS-Lint parses scriptlet tags (`<%`, `%>`, `<%_`, `_%>`, and `-%>`) and expression tags (`<%=` and `<%-`).\n\n**Note:** This linter does not attempt to check for unclosed EJS tags, so if you get an error `Unexpected token` with a line number that doesn't contain any scriptlets, you most likely forgot to close a tag earlier.\n\nIt will error out if it encounters an old-style `include`s (`<% include filename %>`) by default, but will tolerate them if the `--preprocessor-include`/`preprocessorInclude` option is set. It does not lint included files regardless of the method of inclusion.\n\nUsing `await` inside your ejs template will also throw an error by default - use option `--await`/`await` to allow usage of `await` in the template.\n\nIt can work with custom delimiters, just pass it in the options (if using the API) or pass the `--delimiter` (`-d`) flag on the CLI.\n\n## Installation\n\nTo install globally, for command-line use:\n\n```bash\nnpm install -g ejs-lint\n```\n\n## How it Works\n\nEJS-Lint replaces everything outside a scriptlet tag with whitespace (to retain line & column numbers) and then runs the resulting (hopefully) valid JS through [node-syntax-error](https://github.com/substack/node-syntax-error) to check for errors.\n\nWe use [rewire](https://github.com/jhnns/rewire) to load [EJS](https://github.com/mde/ejs). This allows us to access `Template.parseTemplateText()`, an internal function that parses the string and splits it into an array.\n\n**Why can't EJS do this?** At EJS, we try to keep the library lightweight. EJS-Lint uses [acorn](https://github.com/ternjs/acorn) which is too large a dependency for EJS.\n\n## CLI\n\n```\nUsage:\n ejslint <file> [-d=?]\n\n  If no file is specified, reads from stdin\n\nOptions:\n  --help                  Show help                                            [boolean]\n  --version               Show version number                                  [boolean]\n  -d, --delimiter         Specify a custom delimiter ( i.e. <? instead of <% ) [string]\n  --preprocessor-include  Allow old (pre-EJS v3) preprocessor-style includes   [boolean]\n  --await                 Allow usage of await inside template                 [boolean]\n```\n\n## API\n\nRequire:\n\n```js\nconst ejsLint = require('ejs-lint');\n```\n\nThen do `ejsLint(text, options)`; where `text` is the EJS template and `options` are the EJS options (can additionally set `preprocessorInclude` to\nallow for old-style includes or set `await` to allow usage of await inside the template).\nThis returns a [node-syntax-error object](https://github.com/substack/node-syntax-error#attributes) that you can parse.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/RyanZim/EJS-Lint","bugs":{"url":"https://github.com/RyanZim/EJS-Lint/issues"},"license":"MIT"}