{"_id":"gherkin-formatter","_rev":"32-397f852d59024185a26548d0e26474f1","name":"gherkin-formatter","dist-tags":{"latest":"1.2.2","beta":"1.2.1-beta.9"},"versions":{"0.0.1":{"name":"gherkin-formatter","version":"0.0.1","description":"Formats Gherkin AST to feature file (string)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/szikszail/gherkin-formatter.git"},"keywords":["gherkin","feature","file","ast"],"author":{"name":"Laszlo Szikszai","email":"sziklaszlo@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/szikszail/gherkin-formatter/issues"},"homepage":"https://github.com/szikszail/gherkin-formatter#readme","gitHead":"4006e1721e350004aa2d49dff482b598fd398990","_id":"gherkin-formatter@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"dist":{"integrity":"sha512-LOqp9v1IbmycXAuaNa+esS8eBXS8wsHfO84ZqO+53KandiG8KnbdZcsu6WNsH3E/nnT23Rf9sddBG9xgfwkSWQ==","shasum":"57c4a70ecb26e531434e1484d9502c2a74c33f99","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-0.0.1.tgz","fileCount":3,"unpackedSize":1747,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFD/av1XguoE6VE1fXB6qVf94Z1OuzrONCKggXofPYlOAiEAtVch9Pl2WCayJ1MDcC9lbexyOPpJFkGAJLTCcSRCea8="}]},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_0.0.1_1522005623860_0.08768880913966748"},"_hasShrinkwrap":false},"0.1.0":{"name":"gherkin-formatter","version":"0.1.0","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run clean && npm run compile && npm run copyToDist && npm test -- --coverage && npm run typedoc","buildUpdate":"npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --mode file --exclude **/bin/**/*.ts --exclude **/cli.ts --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"Team GherKing"},"contributors":[{"name":"Sandor Orosz","email":"os.sandor@gmail.com"}],"license":"MIT","engines":{"node":">=6.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/jest":"^24.0.15","@types/node":"^12.0.10","copyfiles":"^2.1.0","jest":"^24.8.0","jest-junit":"^6.4.0","rimraf":"^2.6.3","ts-jest":"^24.0.2","tslint":"^5.18.0","typedoc":"^0.14.2","typescript":"^3.5.2"},"dependencies":{"eol":"^0.9.1","gherkin-ast":"^2.0.1"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@0.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-wi5OudsS44X5AezLt0NGBnhyjnfczMKwW94dO/FFWmR75m8camLgL5fG/d+eMea9x6y1dsABzCSVAzWjSfjWrA==","shasum":"668a05dc66438bc786ceb7a5453653bc2139af91","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-0.1.0.tgz","fileCount":6,"unpackedSize":5444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL0lYCRA9TVsSAnZWagAAGnsP/jcgQWPge/NWt9Ro4YTY\nxS2t6xbISITpcl4FJ8JYnQ8ddzUUefzv8W0ueeaX/eZTc+W/dO0afRIidrAQ\nKG1LOZ/mbgewt5vIz15OgWrD3/Kb46wyKZC2YoAhoif4WWLGsg/s9Bv61+n4\nFejUCfASyHvGYfciQL6poAA+RrfTQZWMDtBE2B9c3wLKnYvfsDBt/jizT4Mm\nTMH9QM56KmNyRP0vTFkOnLOqR5QcJt2EfQcdfmGk3w0HjleIuQrTS6IImQYe\npg0laCQSIUMG0UZ0J2rv4MPdCoDMoINL7FSgxs9DLDVQvaBfQ6jfxvQ0RXby\nlt0TP1zwtJYKSPwet/P+2Z3se7B2Jc/TB6O317r1qkPYUG7uy2eY6C4e4qIU\nPjR/fXRVMklBglN1HUwX5l8qVNYDD9pxxVm7LJJQMEsVXEC37lYdHd8FWwdC\nEWdDaIne8mhSaQ5spUDiLIMiCbRqK6PPoJbmWKuoIplE39/TGTRM+ujCetRa\njBpw2RqnmyO3zFKmsYYQNCuHNz7jHouZ0LAui9+z343TEmW4VddeEnbB3pBk\nOG0o10ywV1tv6xpfz6cRZksY/j93RBbgg3zbwtJi1UjCd2doIsOPi1Tw/oPv\n4bTX5usQt+t5lhqcQDQP0AkWdXGJ6m06S7cnn5M2D8Bv4c3vs7N2jafI/3MJ\n5Tr7\r\n=Ba/n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQmfO0SApOZa9CeUj/fJdLwGetbsNttxgdT+H6GFbhZAiEAtYHCY4S3JtdGAFQJdJJBcWpjtqAPMLK41GvcGJKNdy0="}]},"maintainers":[{"email":"n.juditt@gmail.com","name":"judit-nahaj"},{"email":"os.sandor@gmail.com","name":"sorosz89"},{"email":"sziklaszlo@gmail.com","name":"szikszail"}],"_npmUser":{"name":"sorosz89","email":"os.sandor@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_0.1.0_1563380055517_0.2506418500345964"},"_hasShrinkwrap":false},"1.0.0":{"name":"gherkin-formatter","version":"1.0.0","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run clean && npm run compile && npm run copyToDist && npm test -- --coverage && npm run typedoc","buildUpdate":"npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^24.0.15","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^24.8.0","jest-junit":"^6.4.0","rimraf":"^2.6.3","ts-jest":"^24.0.2","tslint":"^5.18.0","typedoc":"^0.20.28","typescript":"^3.5.2"},"dependencies":{"debug":"^4.3.1","@types/cli-table":"^0.3.0","@types/color-name":"^1.1.1","@types/colors":"^1.2.1","cli-table":"^0.3.1","eol":"^0.9.1","gherkin-ast":"^3.0.2"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@1.0.0","_nodeVersion":"12.21.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-xiU/dDoE24FjQHWeTE2rgaewqc4vPiaInv+dbJgfHImP/3xn9BHzT6rbH2YbZ7O7TSTCdmJ8m6do1yfTVf9cNQ==","shasum":"a7fcfa4aa7c058c6b8ac7c334fd85f7c33ecdd2f","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.0.0.tgz","fileCount":12,"unpackedSize":14005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXMn7CRA9TVsSAnZWagAAb1MP/RiMreJoKei9o39s4wzp\nHISLa5rUGjmgJDgLW2ywyTz+ROr7h91lyjuMgto71lOc0YZLmFUTY5GpkuPM\nyzmNkanH8Au8tTwn4YNkqztOC1Hm5cdlkyPH/RbesAVMVfxY8Q96URc2rU0M\nTO8QGStvEHLLK7YBAbMpFxjYDJ5B7SwxpGkd8u4Q979Hfrv0bXp6fqFm6Hld\n5Iolgu6kN1B3J22pXpJA1bwDUeY3yqa7gTxSUFfsxWb5hEuJCJhH5QqMKzRn\ncAHII5OGs3MsL4Kyoap3hrgO0MKGYFe64yDsSyB1KO1mH/Xo+8sM0SrUViUM\nBBqztr/+77qOb+JF9pYtNs8jnv8/IJj1RNmX44rXb9QKM0g7KVCDhmX8SBv9\nVmE01cBOdVMuDj7JpYLJrOC2MS8hoBER2XHa3QCkGpMCa4zOTDHOcGzsHNi8\nbHoMHxOAXdex3j+n1jpVqY0ph4Lnwi2zhmGigRh/E5X6R6ewkSKjCzZkJXEq\nmj6MB2w8BrGiglVUYWwKjLPKNQ4GXWP6PwH8u85DnTrQOTzcjtk6XlQPxsPU\nJ2qBU88BIPgDHoZn7cTAKDCt5dAasHVYU1JK600HDLEtiJBGBehe0EfNKvD0\n1cBDs+Z1DqDkt4npKxZKUWgJQ4nuCBxwxtgOmYNizOEeO7cV/GJ5Haxqe//R\nKKof\r\n=iv9e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5WQIhB3e0cH2WdsQnwM2mG1WjHk6IjVgiOiQNJje3yAIhALzjGuSwKnt6/aO3PtBjvW31Rn3FkmFbhneg5MOKliXn"}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.0.0_1616693755366_0.8300720531870129"},"_hasShrinkwrap":false},"1.0.1":{"name":"gherkin-formatter","version":"1.0.1","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test -- --coverage && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^24.0.15","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^24.8.0","jest-junit":"^6.4.0","rimraf":"^2.6.3","ts-jest":"^24.0.2","tslint":"^5.18.0","typedoc":"^0.20.28","typescript":"^3.5.2"},"dependencies":{"debug":"^4.3.1","@types/cli-table":"^0.3.0","@types/color-name":"^1.1.1","@types/colors":"^1.2.1","cli-table":"^0.3.1","eol":"^0.9.1","gherkin-ast":"^3.0.2"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@1.0.1","_nodeVersion":"12.21.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-LvHAswpPX7Z30+6SLwBXyhEHim0IWNQHjpLVwPomQvc4Aw4rNkh6psbo6cFqnme3CPqXzJNPl7y7H5bApLro+g==","shasum":"5641c39eeb04f39549e6729b3b0f6d836d2006fa","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.0.1.tgz","fileCount":51,"unpackedSize":41816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXMzgCRA9TVsSAnZWagAAJLIP/1k0yQh/o4bA7sSfS0M4\n+dR+N/itwImrq8Bk8v5owkwIVAQ1s7RDHoF+zg8XOK+tjcjuvC9BDPz7QUAb\nKAJjdrgkaYs03Od4rJX7ZHJhxyWxczVvGrhcBnLK7kRBmfXUypPRflKc1Cgy\ntYFxjO4rsFuXvYw4PC3MfQRk+iLYLTG1IrkyO+LQ40FBUzfoVFrBxc69j/Bu\nDye4k18VSpUBYx921t1N/f5rtnBi2P+c49UQr/9+9tICSxUNHfRJzBEPoBS2\nG8zPpS/YCyNZpG3XbEuN90Kr2xLHUAB7CYHuDaGvrkQfm8aaYYl156b+3KdQ\nQlUr8EJn6GANTahQ3WYpC947Y/OVWfZOXVHCxYar+in3EQqC6mEJ3aM+alFB\nWbMBf3k7umvNTKNzy6OiVPLeU/c3ikBNHOrrkm21DFnWD3ekIvLbu9d8QZHv\njgw91W13GPGIGVXET5dALud6uW0R6cciLcQluS0yX3/QhbxeNC09LKBhm8QD\nR24Aoonmok30bJJmQx3wP0nD9D25JQGnt5K3PRzZRIS5pkgqYwUHPReBNVw9\n4Ju7wB1YfmnI4Xy+qK8Y4AOzCGQyphDLc5NEKLkriY/jBM4tT6U4rxJwt9j7\nZbrf2evVmqWM0fI/Mox7GJat3gl2QDNIuiSUUzDa3t/GZCP7lIb3rdKTKEz+\n+XHZ\r\n=aeGF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDu7NegmrWCufqLrixnuBT0xIgb1aB7/p2HBwCxW70HtQIhAMeqhEqLmSwzvcvTGwBR3KGYEfUJxBKC1APB65pOZMJT"}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.0.1_1616694496381_0.2207319413845108"},"_hasShrinkwrap":false},"1.0.2-beta.1":{"name":"gherkin-formatter","version":"1.0.2-beta.1","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"preinstall":"npx npm-force-resolutions","build":"npm run buildUpdate && npm test -- --coverage && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^24.0.15","@types/node":"^12.0.10","colors":"1.4.0","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^24.8.0","jest-junit":"^6.4.0","rimraf":"^2.6.3","ts-jest":"^24.0.2","tslint":"^5.18.0","typedoc":"^0.20.28","typescript":"^3.5.2"},"dependencies":{"debug":"^4.3.1","eol":"^0.9.1","gherkin-ast":"^3.0.2","table":"^6.8.0"},"resolutions":{"colors":"1.4.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square)\n![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square)\n![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square)\n![CI](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/CI/master?label=ci&style=flat-square)\n![Docs](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/Docs/master?label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from your [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n```typescript\nimport {format, FormatOptions} from \"gherkin-formatter\";\nimport {Document} from \"gherkin-ast\";\nimport {load} from \"gherkin-io\";\n\nconst document: Document = load(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups : false};\nconsole.log(format(document, options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {load} = require(\"gherkin-io\");\n\nconst document = load(\"./test.feature\");\nconst options = {separateStepGroups : false};\nconsole.log(format(document, options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n### Configuration - `FormatConfig`\n\nBy passing an `FormatConfig` object to format method (or other Ast type methods where it's applicable) it can be set, how feature file text is rendered.\n\n| Option | Description | Default |\n|:-------|:------------|:--------|\n| `oneTagPerLine` | Should tags rendered separately, one by line? | `false`, i.e. all tag of a scenario, feature, etc will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated? | `false` |\n| `compact` | Should empty lines be skipped, removed from the result? | `false`, i.e. there will be empty lines in appropriate places |\n| `lineBreak` | The line break character(s). | `\\n`, i.e. it uses Unix line break, to set Windows style, set `\\r\\n` |\n| `indentation` | The indentation character(s). | `'  '`, i.e. it uses two space character to add indentation where it's appropriate | \n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n","readmeFilename":"README.md","_id":"gherkin-formatter@1.0.2-beta.1","_nodeVersion":"12.22.8","_npmVersion":"6.14.15","dist":{"integrity":"sha512-dIgzokM3s//y5DpdHejC9owuz5EyKafVC3iCljekSXRh2QbcI/48L+NXkK411RXwe+eyU0i51zlZOC7RScJeuQ==","shasum":"5ec3c124fee3b56042f86fa1e16994f69596d92b","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.0.2-beta.1.tgz","fileCount":51,"unpackedSize":40506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3GDxCRA9TVsSAnZWagAAgP4P/2NHd+RqB9Ydrakhvn9+\n7sJqofLtXC9y6SsY06B9CnpLmIw97Xbygu1TSe8+lgsLdCcXIcI9VevIetME\nimvYFXOkK1NKUZs5snb5MFtk15f7vPi2CVPcIDzVMmmtJ7Rdj+/Xvhowewqm\nZXg3lQoKBNJ9iK4lagztVZ43/Ngr7xG7WMRBNHY/8GmeGRjAAzKPBKcSiu0x\nnqxLu5NNkR//gm0KU2fo+Mo1ZMq2uOvadqOitsybub7WxJPX9PzeXsIJTWt0\n27a6SSOH0fbJ18DbRWhDqy5J0LsrU/Ti54oc5V6RB6gDUsr6QsrVn6hiPNXz\nDljKCRsOVKTew0PB+iaEKpl8k4oowopDFwNQIGVhxVMsPxVAhJIFVxBokr1z\ns+YYNQOhkBlEcRoRPHOJgHT7GYzIcjgTXz291UlJAGVA+qN0QEzzY8mKM8sm\nKVc4RqvcTM339+iotY81r+XJQmqDiuJh87K/8a9fAHscZICmPRIY7+Y/ORVz\npcqpj5cnhxHhdxkAPFQB6JnyBg97tQ3UtT6MiK4qJBuueMC4A12hp/VjeJHg\n4Prs9SI969PDtyIA8sKiKGQlXEz+5TpM8FPjiK/j85K7hdruO+CaSHJ2FVHF\nqQNnQd/Bj+uLgbbLLFVD3MR0MOlFNIByMv0u7E+iqFq7vvYx1HhC9PTJ3T/N\nhTi/\r\n=mJiD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvLR59xdrOhTbwVk8iVQty/apwQ0eXSBi8ZBSk6yzlyAiEA+zFLpESnEHFlVtR08EERLb1aI3HHlgy112+W9DHy39o="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.0.2-beta.1_1641832689765_0.08589314370877932"},"_hasShrinkwrap":false,"deprecated":"this version of the package package has been deprecated"},"1.0.2-beta.2":{"name":"gherkin-formatter","version":"1.0.2-beta.2","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test -- --coverage && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^24.0.15","@types/node":"^12.0.10","colors":"1.4.0","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^24.8.0","jest-junit":"^6.4.0","rimraf":"^3.0.2","ts-jest":"^24.0.2","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"^4.5.4"},"dependencies":{"debug":"^4.3.1","eol":"^0.9.1","gherkin-ast":"^3.0.2","table":"^6.8.0"},"resolutions":{"colors":"1.4.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square)\n![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square)\n![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square)\n![CI](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/CI/master?label=ci&style=flat-square)\n![Docs](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/Docs/master?label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from your [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n```typescript\nimport {format, FormatOptions} from \"gherkin-formatter\";\nimport {Document} from \"gherkin-ast\";\nimport {load} from \"gherkin-io\";\n\nconst document: Document = load(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups : false};\nconsole.log(format(document, options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {load} = require(\"gherkin-io\");\n\nconst document = load(\"./test.feature\");\nconst options = {separateStepGroups : false};\nconsole.log(format(document, options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n### Configuration - `FormatConfig`\n\nBy passing an `FormatConfig` object to format method (or other Ast type methods where it's applicable) it can be set, how feature file text is rendered.\n\n| Option | Description | Default |\n|:-------|:------------|:--------|\n| `oneTagPerLine` | Should tags rendered separately, one by line? | `false`, i.e. all tag of a scenario, feature, etc will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated? | `false` |\n| `compact` | Should empty lines be skipped, removed from the result? | `false`, i.e. there will be empty lines in appropriate places |\n| `lineBreak` | The line break character(s). | `\\n`, i.e. it uses Unix line break, to set Windows style, set `\\r\\n` |\n| `indentation` | The indentation character(s). | `'  '`, i.e. it uses two space character to add indentation where it's appropriate | \n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n","readmeFilename":"README.md","_id":"gherkin-formatter@1.0.2-beta.2","_nodeVersion":"12.22.8","_npmVersion":"6.14.15","dist":{"integrity":"sha512-vWuAPm1I/oSvEIo/3JKGXURpOaw0Iii02Rx50EQlcpptvTexTN5QIayM/8473Oj7Z9Pc/alZBKVnYRnvT2tTJg==","shasum":"76a2a4d008c71a03eddb8f4250a0c2c8803930b5","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.0.2-beta.2.tgz","fileCount":51,"unpackedSize":41421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3GNJCRA9TVsSAnZWagAAQ24P/1QJtURQCuYF8/RH1BYB\n6vd/YANedtpC5PpbZ8ZE5SMyOgdXqXmHTxy1SjumdW8MUWk2FcrtNv/wcudV\nK8D8tc2N5cp1/M1QcT3OAM/KUT64iTJCdrIL9eTh0Yq2ZoYE53FxlsFesQRm\n+WyQKwnwWS044SQaP4FXLGru1YmliQBHJIHFUB+8CeDMI/MBhmw14B5ys/PC\n2S/KrLdb6UZA0fM4bFfSUDOKNaU6SfiChfftAV4wX3jJuxrztWacVARf7wqs\nyorOBgFFXxkb2iwpkArv1fVu59j7KnvVs4SlGWXpX7C66H3vTUCYYf7KjCFW\namkyiKVEJJherAhd+qGHNhmYHf2HDEG5DaGOSzPFvMSnGHv8Ybr9VYX74Zbw\ntRO0eABRytibBG1TzcJr41m9p1ncXI6xjKIiMBy6+bo4DfPjyGY2RaCKXZvi\nQFIBOY7RGr+JVIWc5+9+jJajWo02i/o5bgI7pQzzxSxZmBdCjOQUhTj04km+\nYQDUGu27jtp0kyVtvhe0NMVlu/gkV8Vl6WZ+ZvLmrV0BbFDA0rbqSGYu60i2\n40rzlOZZOx5HKEtWRus9ZRDbzcCGQ9SNG2RKj03LeKh6Nlx3e9qf1Q9EV6L2\nnHr8QgaytgMeVplixPp+AeFeT6FP109ojlEM/6858xCw9h14myRsj0i8r9Z6\n1ASS\r\n=erwa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF2vinuXNlco1WUCNAm7CMR+bYy5RMlCZSPew8Ry7R0LAiAf+4XvBIyI5jsSEiX1Txq6Eto8qChSLgLJtjfrbp5jyQ=="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.0.2-beta.2_1641833288969_0.17858639744789828"},"_hasShrinkwrap":false,"deprecated":"this version of the package package has been deprecated"},"1.0.2":{"name":"gherkin-formatter","version":"1.0.2","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test -- --coverage && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^24.0.15","@types/node":"^12.0.10","colors":"1.4.0","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^24.8.0","jest-junit":"^6.4.0","rimraf":"^3.0.2","ts-jest":"^24.0.2","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"^4.5.4"},"dependencies":{"debug":"^4.3.1","eol":"^0.9.1","gherkin-ast":"^3.0.2","table":"^6.8.0"},"resolutions":{"colors":"1.4.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@1.0.2","_nodeVersion":"12.22.8","_npmVersion":"6.14.15","dist":{"integrity":"sha512-t3BbuAg/0HDhBloHIPhqvBL68G2Mv5dYXSebIVS3cuKfP+JK0SQIE7kTj3y2/qgUouiKqD1Th8qcLtL1WlaWwg==","shasum":"4a7fa8d1599ea326093f2d4e615d6ca854ec06a7","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.0.2.tgz","fileCount":51,"unpackedSize":41414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3GVwCRA9TVsSAnZWagAA7/cQAIJW2noH2qGU1o0iiwaX\nDFr3naBF40d0STJgzLj7ajQo9nvHqf+hxxeebJuEp/BvSivQMqNLbiDUW8zm\n/tJN2KJof3i647DLBoQUQfpJdBU38/GloI9d/dpojdiUXhGnD6/uq2u29mId\nSC1CuS1TlKz+1YrHSccHC2TDjxTDl86rooV8wsTiQQZLZqOYx0M6724sBOIL\nzzsjW0+gUQ5ObzATwZSNdWfiBd4wTB7J5+Kkh++hzOp2e8oKnrOdfd0GU8tV\n9PHARX0woEct3wPe/COJ18nzsKXLiKHB60AUzrGXHI5GkClkLkz6OIGvECjP\neg6x7FEjdNXwLG6If0AXBa5VDyU/obyOU9mI7EpkbPqHiFMrnqsYbnm1tHR/\nNmSJc9LC005IwaCYqy7zwVJnj3k7yUr7LMEK77StLSeATkpBLloKAuU9UxH0\nuHcGpthrBCkxvg3jL1X2qabix6JYneIsyE9tdLgQclYkNozxJ+whbPjnBny0\nMt7N1dMsdvAVBU7FvpqSqex1RNtWYhStNDPT4a4xhvk16xmCsM/tmz90sgxk\nzBBunU2RCNpxkqdEgkMJ6dDJcUbrSi70CEHzTHE7OKRQtBypQLz9hEQ54B3Y\n8Yu3Ke6owWk4ALw3E+34cym0aF3Y0R5A6ur+LlEYW1FKflJ2kihWBJPozJ/f\nPCda\r\n=HnwU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHII/j5Gg+SFkw9+KC6/vpOxgGfNw5E3cTpQzyEg5zAKAiA4AlH/DD+zCWsPkgMSTVe4MqEZHnpKrDYmO7GIVqCtFA=="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.0.2_1641833840439_0.9829328665728971"},"_hasShrinkwrap":false},"1.0.3-beta.3":{"name":"gherkin-formatter","version":"1.0.3-beta.3","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^27.4.0","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^27.4.7","jest-junit":"^13.0.0","rimraf":"^3.0.2","ts-jest":"^27.1.3","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"4.4.4"},"dependencies":{"debug":"^4.3.1","gherkin-ast":"^3.2.1","lines-builder":"^1.2.0","table":"^6.8.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square) ![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square) ![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square) ![CI](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/CI/master?label=ci&style=flat-square) ![Docs](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/Docs/master?label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from your [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n\n```typescript\nimport {format, FormatOptions} from \"gherkin-formatter\";\nimport {Document} from \"gherkin-ast\";\nimport {read} from \"gherkin-io\";\n\nconst document: Document[] = await read(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups : false};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {read} = require(\"gherkin-io\");\n\nconst document = await read(\"./test.feature\");\nconst options = {\n    separateStepGroups: false\n};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\n### Configuration - `FormatConfig`\n\nPassing a `FormatConfig` object to format method (or other Ast type methods where it's applicable), how feature file text is rendered can be set.\n\n| Option | Description | Default |\n|:-------|:------------|:--------|\n| `oneTagPerLine` | Should the tags be rendered separately, one by line? | `false`, i.e., all tags of a scenario, feature, etc. will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated? | `false` |\n| `compact` | Should empty lines be skipped, removed from the result? | `false`, i.e., there will be empty lines in appropriate places |\n| `lineBreak` | The line break character(s). | `null`, i.e., it will determine the line-break based on the platform |\n| `indentation` | The indentation character(s). | `'  '`, i.e., it uses two space characters to add indentation where it's appropriate | \n\n## Other\n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n\nThis package uses [debug](https://www.npmjs.com/package/debug) for logging, use `gherkin-formatter` to see debug logs:\n\n```shell\nDEBUG=gherkin-formatter* node my-script.js\n```\n","readmeFilename":"README.md","gitHead":"d82362e07111590e0ae19d2c3283c32785b5dba4","_id":"gherkin-formatter@1.0.3-beta.3","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-U6LgOSLpkYYKSi9/4GtujzD5itKreonT/rJF6AWIYGq19xTRnidJGOAIZL5u2pXPJNAE/Qwo4Dlhz4rdSwVISw==","shasum":"47d6dfc149768ffe946b8a8dd1ecfba8fec1fc24","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.0.3-beta.3.tgz","fileCount":50,"unpackedSize":38461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7cUBCRA9TVsSAnZWagAAkUAP/ic16bTVzyi5O2kVZKLz\n97YD+Wsdt9WlsnnfJ9vVhthNoAh2sehvJvBSW2uxNPA387L6RofD2urq/Jw7\nnVIEqNt/qh/iuD+F7IC+LU+z+ql7k8VITMJ/5MLu08/86EDYGdeVH3q6U9Yn\nwlolfk0GKC32LpKyuq5vv8SL3q7J+bQosoaVig6GtkJkAeYsk7sHkhwMf9tT\nE+yOIseVJV1CPKfrnbh0Qx/q7xPVzf6g6UEnCRgzqfTqrj/xULxSCeD56cbR\nOHPX6HOEHvE/Av33DwWU5sbYLtp5DJSzZK2KAyzr5RGjUVmGwxfdRtYlOb89\n/bKfQGEEfxxvOHCfYLrINbixNVGgHyTtFOWzTe1mQEjX8Q/Djn6xEKxTryqe\n6lkYAwxi+Hup/sH45+a6L4dhhkmDUBaPsgc9i5Ml0Z/697bi3BXyQMweRwck\neMPxtOHB/DDArO/9YUW+n6iaMpda/rRmC80be2Wt0skGfNnhXT04WxkGBwGr\nhL3DM1xlIyt7B5z2Ia9PglcXE8YRchylkjabK58IMZILty7AUvuFg61UT364\n52oMrsQdngxDiHi6czfFdJboe5SABZ2S4OaT+NI/KNPZ0IMBmsN8s1AYDLUt\nMqBi1eOsYhAV7KA0wu9VRDwBhfTcmYNQx+4utrvCowOd0/bbxx6EXUfCdewK\n5B8O\r\n=xKkL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH6L37L+2Cc6bfHbnaHAG/BbMUWtCC/ef6aY0KbLopNsAiAcXqql+Yn/W79d9U1O+mCgEXY66rNAGo8XcJvlxIhgEA=="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.0.3-beta.3_1642972417603_0.8795439500385831"},"_hasShrinkwrap":false,"deprecated":"this version of the package package has been deprecated"},"1.0.3-beta.4":{"name":"gherkin-formatter","version":"1.0.3-beta.4","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^27.4.0","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^27.4.7","jest-junit":"^13.0.0","rimraf":"^3.0.2","ts-jest":"^27.1.3","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"4.4.4"},"dependencies":{"debug":"^4.3.1","gherkin-ast":"^3.2.1","lines-builder":"^1.2.0","table":"^6.8.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square) ![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square) ![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square) ![CI](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/CI/master?label=ci&style=flat-square) ![Docs](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/Docs/master?label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from your [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n\n```typescript\nimport {format, FormatOptions} from \"gherkin-formatter\";\nimport {Document} from \"gherkin-ast\";\nimport {read} from \"gherkin-io\";\n\nconst document: Document[] = await read(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups : false};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {read} = require(\"gherkin-io\");\n\nconst document = await read(\"./test.feature\");\nconst options = {\n    separateStepGroups: false\n};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\n### Configuration - `FormatConfig`\n\nPassing a `FormatConfig` object to format method (or other Ast type methods where it's applicable), how feature file text is rendered can be set.\n\n| Option | Description | Default |\n|:-------|:------------|:--------|\n| `oneTagPerLine` | Should the tags be rendered separately, one by line? | `false`, i.e., all tags of a scenario, feature, etc. will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated? | `false` |\n| `compact` | Should empty lines be skipped, removed from the result? | `false`, i.e., there will be empty lines in appropriate places |\n| `lineBreak` | The line break character(s). | `null`, i.e., it will determine the line-break based on the platform |\n| `indentation` | The indentation character(s). | `'  '`, i.e., it uses two space characters to add indentation where it's appropriate | \n\n## Other\n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n\nThis package uses [debug](https://www.npmjs.com/package/debug) for logging, use `gherkin-formatter` to see debug logs:\n\n```shell\nDEBUG=gherkin-formatter* node my-script.js\n```\n","readmeFilename":"README.md","gitHead":"cd322c667154f58235cf87f27cb0baeb11097516","_id":"gherkin-formatter@1.0.3-beta.4","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-tzgZzsxthCmM3wudX/UcJFqcz6oDvZJ4dYHJcZNzJcwXrzv5mgldHFQBzXKBAcwsIvDxtqQ5NaaWgtiKvZJ0ew==","shasum":"524d80aa994d07495e227e249e697388ef499b85","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.0.3-beta.4.tgz","fileCount":50,"unpackedSize":38460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7k2HCRA9TVsSAnZWagAA+gEP/0SF42yu5N3WQIrWolrm\n9GjxVkPz5JyEHaDhkGEFveRV4KyZQ4soxsYhBAbQ2tQyuDeLQEUAKQiL7JQk\nu6upvfHpOBRAhEbTy2rQ1DO5LZRmcATjrkCdgTRvEYD1OPCiaamuW7ATrfqE\noIcTcl+e1w3/nCHndxPAXcjfEaQ7wXyWENH4u4MBNZ96B6t4DZmZ5uu9hmlj\nuv37F0CSe8gR0a6pW0hxK0CmXgEQrbDFM0p24e8qrVXl/qO3eln11OIgD4og\nC2lQHU1D9WsEzZE8gkpyqzYMeXL0ctpjfJQCuyMqROStjmqFkM8yqWaESYNh\nT9H7dP2R9t9etdE1/GsNg8sNcW2zq4yEYLtb7JAci/r8LL0VhhITA1yKAaMQ\nlgeve/pQUhk6OfaH07KVzLMdAw2q0T5/YT2TVvnXg+CNBEpaeQ5zz53ox/vn\n7zorXM+iB1T2oY1WVPcrsFJg6P1tWmmu2orCEZg7gAvmSCS7b4ZGQzM6UKzo\n02yEjnF8Jxz58T2JR9TWz/0LtiG2H3rXQDsUAAtmakzvLo98RP51li0RxskM\n0KQ9Au8uRMArqb7r/gBySzs58kRaBt+J5UI9oNucQW3aNAiJaE84Gs175dxG\nRt7JUmozR31iqWY1VTAfIRzclqminyKBsii4XHHCE4MeMfOmBi5erSpWARFK\nQADk\r\n=LnRb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBzm/gSD4/60sUzIKYFc3vm0BIPne2lqI/q0SpQqjFzVAiB/hPQ/X6qEDQRKt7ccgqRqlo9FmuO/bQ186Zyl5l6LIA=="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.0.3-beta.4_1643007367826_0.7451425096475859"},"_hasShrinkwrap":false,"deprecated":"this version of the package package has been deprecated"},"1.0.3":{"name":"gherkin-formatter","version":"1.0.3","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^27.4.0","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^27.4.7","jest-junit":"^13.0.0","rimraf":"^3.0.2","ts-jest":"^27.1.3","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"4.4.4"},"dependencies":{"debug":"^4.3.1","gherkin-ast":"^3.2.1","lines-builder":"^1.2.0","table":"^6.8.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"gitHead":"dcab27166e65f2e940902a7538149d99e3ae3093","_id":"gherkin-formatter@1.0.3","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-7yBLB95EWe7nZka63Igsd0NQuOCxvoYkyuW1q4wbjVlWkg/QfsfFIRrfZs3alW0i3FqpCfpEcqDEbLQ/tgXb8w==","shasum":"5337e3836ad8edf2431ddd9eef37c8a9848ef5ab","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.0.3.tgz","fileCount":50,"unpackedSize":38397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9Vq9CRA9TVsSAnZWagAAAHoP/RTLvs8iZ9owiQdV5gk8\nCUs9yoxrLSIC1jte/bF20CjGn3CeMKyFr3Q/zbltiw1zAdTG7NK1NrXTKsUc\ntvXbyI6VdKHB9l24Te7wYH/KyS35VWrWskzOPdEPfwp8WNo2PvoO9VtjcuHo\nR0qjtaozllsC8J95bDHYNeSxsQur0MNxvyc3P7/Lw6qt1UK5KLdhlKwVteEm\nGDtNSTJ3nQEiztDdKPKwrBtd6Ksr1mM8fO4ZM/rimDfdG6eAcGRl9e+Q8Rpe\ncELW4OrniV7ADoUmeGXnfs+RKvUQmtUjrOJJNw5anc7YMAI+gpeGkOuODH0W\naTsd5KvEZS2XrgYzpjmNr5pgqYiB2HkCAGP4voaxk+0i3Qu1a3woczlrPElz\nhrTavuLhbC5Kvxxe4BnzJlG2Tr9NhpncxfuDmIPYl/bD5tWyJPyY2U7mLzNX\nqUrgLojL/oN7UafE+Ore04U+KSC41xcuFcI6HxwNnJW58jxMSghPdxPr1HyR\nNL853P6aucAWUakqyUFRBlBzg/vybtx7xzuRkwI3YlFdYmC5O5kYS0g00M2N\nybtH+akDq8qzXKiL9eRWW2ioPrdXjTmIj4kuqrbSxfG1R4xbbC3wZrjVVSx7\nWERLJvM0HBZrGFO53+CHmSt+FtLBeUtviVNPJx6HO9LO+VMfVDyXqUfa1HSz\nJ3+g\r\n=Higs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID17q+P8RwJn0m2UJJbm1v/y4J2Atcm3bGtu0hLK9XigAiA/e0E6kRaukxqdQAF72q7QujIjxgoz6y1WJr5YtJnCIA=="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.0.3_1643469501626_0.4880815931069016"},"_hasShrinkwrap":false},"1.1.0-beta.5":{"name":"gherkin-formatter","version":"1.1.0-beta.5","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^27.4.0","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^27.4.7","jest-junit":"^13.0.0","rimraf":"^3.0.2","ts-jest":"^27.1.3","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"4.4.4"},"dependencies":{"debug":"^4.3.1","gherkin-ast":"3.3.0-beta.2","lines-builder":"^1.2.0","table":"^6.8.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square) ![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square) ![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square) ![CI](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/CI/master?label=ci&style=flat-square) ![Docs](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/Docs/master?label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from your [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n\n```typescript\nimport {format, FormatOptions} from \"gherkin-formatter\";\nimport {Document} from \"gherkin-ast\";\nimport {read} from \"gherkin-io\";\n\nconst document: Document[] = await read(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups : false};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {read} = require(\"gherkin-io\");\n\nconst document = await read(\"./test.feature\");\nconst options = {\n    separateStepGroups: false\n};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\n### Configuration - `FormatConfig`\n\nPassing a `FormatConfig` object to format method (or other Ast type methods where it's applicable), how feature file text is rendered can be set.\n\n| Option | Description | Default |\n|:-------|:------------|:--------|\n| `oneTagPerLine` | Should the tags be rendered separately, one by line? | `false`, i.e., all tags of a scenario, feature, etc. will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated? | `false` |\n| `compact` | Should empty lines be skipped, removed from the result? | `false`, i.e., there will be empty lines in appropriate places |\n| `lineBreak` | The line break character(s). | `null`, i.e., it will determine the line-break based on the platform |\n| `indentation` | The indentation character(s). | `'  '`, i.e., it uses two space characters to add indentation where it's appropriate | \n\n## Other\n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n\nThis package uses [debug](https://www.npmjs.com/package/debug) for logging, use `gherkin-formatter` to see debug logs:\n\n```shell\nDEBUG=gherkin-formatter* node my-script.js\n```\n","readmeFilename":"README.md","gitHead":"79d0ff9312a50b7037033ff574c6d3cfce5fae90","_id":"gherkin-formatter@1.1.0-beta.5","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-c8r/2bUEd/skm0laGaXPKIJEkqgnYo56+/dMa9XjAMSIsDFPB5pZD+CDNbMuyTlM2Jf11N/Xl+F3hhWOrrfcoA==","shasum":"98ca4f738958cbcab1563499d859ed3c2deeb642","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.1.0-beta.5.tgz","fileCount":50,"unpackedSize":38410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE4MVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr52g/9G3hxBNaGhL5XrpCCUq/p502I5e9qO+pu10hnYFfNFVHgYsAP\r\nc4Y8WubYLuvZLzDxrGSkTe41evAU3qQ9QIXXT/zge93McSMCupTNfwFF8gcq\r\nCBqsLiw/3wwHt1egissAiH+DXJFYMWp3LNNvJZugWimbiIsVIfgxl3ODpQFS\r\neFaVpozut1cKuSKboxniuO8k4BfhYMx+kp4ALiOxdo58XDHHEi3K3BLqJNA9\r\nO31gqfMD46aqs7R4PzIdwH48bjFQ1IMfou8QIWP1RWjjPnmXdyaGEpL/jm44\r\nmQp3ZyjvdbJumeIox4JLfvgJEt9xX+njUa/00jH0uLa8qcsJ09fABqbr8rBH\r\noSC1KSquik4tE3C/xA6F2pKqXKuLrwkK+R+0lDbK+UnwaZdIQnYhrv8LvWd7\r\ngoNfxglACp2bTrSnLKKJWK203xP0BQa1NiXBC3F31bi2xEkaNE5muYtKZEkb\r\nw4ON4w575djhrpiL/OY0O67HQN1OwbgdjhKe212bOE4V0sLCLjFpVTiuj2Nz\r\n1KL+SA8uZ5jzQSi2dm1Yxe+o6FXYh+Gso2k4SmHOOoGt/mtViZUTrE0kIA6k\r\nA5Bmc1rDy/Y6Fr95Mf2RMw9DzDiFcoZb4urnC5wX3Ysojfj8tNotHcy05msU\r\npjC/sU/dhQh/pFvWMdxmnCx0U8XshRafIEc=\r\n=LBsT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEprNgg5CZ4cp7jidWmRSmstzr3thpI02f5ng0XMQvMfAiAP32oc57x1le4VRPnY/UIbUIPZKpnjGTwigGIp56GGaw=="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.1.0-beta.5_1645445909671_0.5533144594260622"},"_hasShrinkwrap":false,"deprecated":"this version of the package package has been deprecated"},"1.1.0-beta.6":{"name":"gherkin-formatter","version":"1.1.0-beta.6","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^27.4.0","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"1.2.0-beta.1","jest":"^27.4.7","jest-junit":"^13.0.0","rimraf":"^3.0.2","ts-jest":"^27.1.3","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"4.4.4"},"dependencies":{"debug":"^4.3.1","gherkin-ast":"3.3.0-beta.2","lines-builder":"^1.3.0","table":"^6.8.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square) ![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square) ![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square) ![CI](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/CI/master?label=ci&style=flat-square) ![Docs](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/Docs/master?label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from your [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n\n```typescript\nimport {format, FormatOptions} from \"gherkin-formatter\";\nimport {Document} from \"gherkin-ast\";\nimport {read} from \"gherkin-io\";\n\nconst document: Document[] = await read(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups : false};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {read} = require(\"gherkin-io\");\n\nconst document = await read(\"./test.feature\");\nconst options = {\n    separateStepGroups: false\n};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\n### Configuration - `FormatConfig`\n\nPassing a `FormatConfig` object to format method (or other Ast type methods where it's applicable), how feature file text is rendered can be set.\n\n| Option | Description | Default |\n|:-------|:------------|:--------|\n| `oneTagPerLine` | Should the tags be rendered separately, one by line? | `false`, i.e., all tags of a scenario, feature, etc. will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated? | `false` |\n| `compact` | Should empty lines be skipped, removed from the result? | `false`, i.e., there will be empty lines in appropriate places |\n| `lineBreak` | The line break character(s). | `null`, i.e., it will determine the line-break based on the platform |\n| `indentation` | The indentation character(s). | `'  '`, i.e., it uses two space characters to add indentation where it's appropriate | \n\n## Other\n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n\nThis package uses [debug](https://www.npmjs.com/package/debug) for logging, use `gherkin-formatter` to see debug logs:\n\n```shell\nDEBUG=gherkin-formatter* node my-script.js\n```\n","readmeFilename":"README.md","gitHead":"a587d813244dc57150015cda68a4c2e9904c6129","_id":"gherkin-formatter@1.1.0-beta.6","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-mxCgeNoHRRS9tm/HUrcO19j16fhFuDz1jqaaT5FHjcLQExKvntXkYzTBf3hpCqbn3wvOHhbNmzxN9kgiZV6epQ==","shasum":"4233cc6a3296caf320b8c8523c666ecbb71787db","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.1.0-beta.6.tgz","fileCount":50,"unpackedSize":44519,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFACfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFpg//bn4SqfElDTU+hkX3Gfd2uZqg8734fDNEIA6NtjFYDRabBS9n\r\nkt6wCFkkdvved04rtfYGakUHbTb5Y1C4xcS55DmS+ZWIJqRgAKXx48reJeLS\r\ndu0Mdj8KWzRvKIhT+ChyBrpvAzMj10A1AJlyjhPYvBXzJE5ZGLsHBR7PuP87\r\nev5iaqkgAdYd55uVZFQxvDj9tkKKH34YIEhp6jYTDuSsgzEdVhvpEHUkfnIg\r\nnaWUyp6tNzHg7xiZR9pK1h4lMVrCkOpICppbUwfewF2+KUokwO9tlAS8yxU7\r\ntXhbkW4TLdlQ2DSNqKSElhhq5Eeg2Vwch5eV/T0Bch7JVtYfvD/oZHeuv8mt\r\nPJcroMGCjIfw6xX1XXuuV+NKVVhH6jbXLd1T+oUI0wStrYXjgm7d1kvgMDT9\r\nbdX2PxcbOL10ogvwwLmqy7yzktzhq5FXYg8p9mWm/3di5cXC+VaHp/nSnoJd\r\nw5OiivkJoGDgSyswcNfIocYp5nL2vf11pCZaqUvxQnIiRIxR38B7729UBg16\r\nbglfVgBr4NeJErBVz13b/t/Ago+mpnum0BqJvcEX9pkCxMLUn3+9Oisv2+wq\r\nURPCNN4zS0IkCT/500bb+bPkqpEezFpMD7zuXATjNSmp/+9cPiyl2gmV85+a\r\nVmOMzT2L2qc747X8bDDE3C/9DNH8Bo5Bjdg=\r\n=rbac\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw6IyNn9GOpJFk0A1T4u1mQfiN6QlKuveWVunmkmce1wIhAMc4L+BSmgnlajwoA96wgQ5Kr/GvmcbUaqeUYPB+sMuH"}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.1.0-beta.6_1645478047042_0.06435305098250166"},"_hasShrinkwrap":false,"deprecated":"this version of the package package has been deprecated"},"1.1.0-beta.7":{"name":"gherkin-formatter","version":"1.1.0-beta.7","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^27.4.0","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"1.2.0-beta.1","jest":"^27.4.7","jest-junit":"^13.0.0","rimraf":"^3.0.2","ts-jest":"^27.1.3","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"4.4.4"},"dependencies":{"debug":"^4.3.1","gherkin-ast":"3.3.0-beta.4","lines-builder":"^1.3.0","table":"^6.8.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square) ![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square) ![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square) ![CI](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/CI/master?label=ci&style=flat-square) ![Docs](https://img.shields.io/github/workflow/status/gherking/gherkin-formatter/Docs/master?label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from your [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n\n```typescript\nimport {format, FormatOptions} from \"gherkin-formatter\";\nimport {Document} from \"gherkin-ast\";\nimport {read} from \"gherkin-io\";\n\nconst document: Document[] = await read(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups : false};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {read} = require(\"gherkin-io\");\n\nconst document = await read(\"./test.feature\");\nconst options = {\n    separateStepGroups: false\n};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\n### Configuration - `FormatConfig`\n\nPassing a `FormatConfig` object to format method (or other Ast type methods where it's applicable), how feature file text is rendered can be set.\n\n| Option | Description | Default |\n|:-------|:------------|:--------|\n| `oneTagPerLine` | Should the tags be rendered separately, one by line? | `false`, i.e., all tags of a scenario, feature, etc. will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated? | `false` |\n| `compact` | Should empty lines be skipped, removed from the result? | `false`, i.e., there will be empty lines in appropriate places |\n| `lineBreak` | The line break character(s). | `null`, i.e., it will determine the line-break based on the platform |\n| `indentation` | The indentation character(s). | `'  '`, i.e., it uses two space characters to add indentation where it's appropriate | \n\n## Other\n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n\nThis package uses [debug](https://www.npmjs.com/package/debug) for logging, use `gherkin-formatter` to see debug logs:\n\n```shell\nDEBUG=gherkin-formatter* node my-script.js\n```\n","readmeFilename":"README.md","gitHead":"47372e04a26efac3708dcf7bb45db67a68733603","_id":"gherkin-formatter@1.1.0-beta.7","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-p+xsMHfHqgpL7GtAt3f1VpzPMyWT4vh41sBPNib40x/jQD9HSVxESfSiQivEFDWXIJNE6DkrtsYvswXJQPAcgQ==","shasum":"129d15757f1c0393945b2a88821ff1c0266edbab","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.1.0-beta.7.tgz","fileCount":50,"unpackedSize":44509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI3WOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLuw//ciSt4z0XfRMdqX8zXav5zyvn+u49puYuTAfyeUXLDfyWwToe\r\nqGIKVwTA+VWHkJVXMwcvT2llIwEyS5z+4Yv/rCVI+a33ahrhp7+8uhvvwcaj\r\nV0s+fB9f4UhSoFV8g2o1ZHKLx0xYJTcA+Jn8HlGnQ7g4ind7XpZY1TbOrVLX\r\nlN7gDN8IU+cKS6uzlY12ybNWL/aiIv5rDkGa5cZ+5q1mOsMqtwS73Golfjfv\r\njsO5SfYeKOaviQFniJ3souXVYqNuMJgDEJzncYic5Aw/nm/upetJZvi2OMxW\r\nUtMgXn/pnLqaZbbBRmEKS3HHDInrLalDGgiiT8OanxTtck31KGKDx95JTv7k\r\n0JOg03UFgS4qWftsmIsFs2Y1LleSzLUeLgnyWpZoafu5njHiAHpZBLkvYSi9\r\nLRwzRr/1fsmNXmIv8MsbDTg1Vjv3Jgs4ednpifPiTbgO9N0vo6NdWkwVIcbz\r\nRBnVZ6X1ZMleQSa7nMPGJOMf3Qsng7qf51UX5MYsdJwbcNc3wi9yfFp3alJ7\r\nMGSeto20dEbjAZLxV/HjCjDCOFuLdeDtmC8FpOBAHMs7XmRHhg3OiuvVybEn\r\nfXjJ2RiJ9/SsEJHMX4C9FmEVfU538K6uPMtNlYRa8xqCYI2isSbcwRLHLsnb\r\nvQ9tWity5frxrmTFSjaS7W3PxOW9c5joOhA=\r\n=DC9q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDONj7baZXY4Tzx4n/fVF0fMiP+0H3bG9tVRtsWhsrfKwIgK0qRqr64Pl5kINa7FsFXwI6ypfVrJ/PZMg3VADzjcP8="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.1.0-beta.7_1646491022747_0.19119192559938436"},"_hasShrinkwrap":false},"1.1.0":{"name":"gherkin-formatter","version":"1.1.0","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","tslint":"tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts","compile":"tsc && npm run tslint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.5","@types/jest":"^27.4.0","@types/node":"^12.0.10","copyfiles":"^2.1.0","gherkin-io":"^1.0.1","jest":"^27.4.7","jest-junit":"^13.0.0","rimraf":"^3.0.2","ts-jest":"^27.1.3","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"4.4.4"},"dependencies":{"debug":"^4.3.1","gherkin-ast":"^3.3.0","lines-builder":"^1.3.0","table":"^6.8.0"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"gitHead":"45cabf79a7b6617020a44b547c3fa618b11126ac","_id":"gherkin-formatter@1.1.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-oeQVAKqCHqFdEoLynSrzFI6r60oJ4IS/8Iy2BQXiTeecaUA/bJkHL3umW6mpT6MPbOX5ZDaYrP6zDu4KtOZUDg==","shasum":"ffc21878011bc89311812913fb4dc5d75c8622f4","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.1.0.tgz","fileCount":50,"unpackedSize":44490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMHiPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppzQ//Z90oteVsXtOze6BYLvgr1GzOcJ8lLonROAa8cr5hgh8Qhpbr\r\nqruc8YR7r/Bj9D4k7dKNq9PQyjUlMUsbCCcVH+tgSUWjr9c2uddA1X+RE8cD\r\nYnZSEgFVDaKta6vMFTXOzTE330p1ZLB0W7UFYV5DVWdn6qAAbDqM44hu5xRZ\r\nMAJtlAE4rguw//Q0w8p6GMe9+0ZbDlDmhf1ktOO2xyLFc4mCLC5FLw7+y0Qt\r\nF13dh/WWCt2+vKXN/6i5k/3FjEst9afmJdVYurTO8/YUtryHNn5qCURQM6iT\r\n88W73+26DHFI+ZSuwW7RG7iBX1bjgh+zXWjALwGml4j1PAStcYqqpJYmkm/u\r\na6fukGUiWNjLgn+2MmyOiYdvl6va8gFckt2zCNcNZ/64fpXhnnyDgzXlEZkK\r\nBaZM4SxFl+TaPi/oHaddPuxTzUdiPp0e+qFUmfwqordqUZy18u9BmnoVRqNJ\r\nQdtSsq68hlG3z8avMx5VHCC206O76CgH56B7ikm9jYhUdLDPSb8XBL2gdGQT\r\n0M4og4asemM33dzj3nugIDSaw4IVCIUt5Ism5DkU4I/6bsOiiP1grs2bh12V\r\nS53AAnQbb216eMN/Lg6vylpUEDvAiqIDuk8AvxbXC6FhXSMjiU6z27UWxQhA\r\nG3mSvbDTYC0WEQcs/ayZUQS7Owmb2vSnGAw=\r\n=7al6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZM5Bwt9JQog7B0IRtWLtiHo6zSh4kXxNPv9Nl7F9skgIgPVWKd7ZQfXdaPxlINivG4agtFpZ0M/9z6HtIU+UeYXA="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.1.0_1647343759295_0.017449086936287106"},"_hasShrinkwrap":false},"1.2.0-beta.8":{"name":"gherkin-formatter","version":"1.2.0-beta.8","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","lint":"eslint . --ext .ts --fix","compile":"tsc && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.12","@types/jest":"^29.5.8","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.10.0","@typescript-eslint/parser":"^6.10.0","copyfiles":"^2.4.1","eslint":"^8.53.0","gherkin-io":"^1.2.0","jest":"^29.7.0","jest-junit":"^16.0.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","typedoc":"^0.25.3","typescript":"^5.2.2"},"dependencies":{"debug":"^4.3.4","gherkin-ast":"^3.4.0","lines-builder":"^1.5.1","table":"^6.8.1","tslib":"^2.6.2"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@1.2.0-beta.8","readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square) ![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square) ![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square) ![CI](https://img.shields.io/github/actions/workflow/status/gherking/gherkin-formatter/ci.yml?branch=master&label=ci&style=flat-square) ![Docs](https://img.shields.io/github/actions/workflow/status/gherking/gherkin-formatter/docs.yml?branch=master&label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from\nyour [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n\n```typescript\nimport { format, FormatOptions } from \"gherkin-formatter\";\nimport { Document } from \"gherkin-ast\";\nimport { read } from \"gherkin-io\";\n\nconst document: Document[] = await read(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups: false};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {read} = require(\"gherkin-io\");\n\nconst document = await read(\"./test.feature\");\nconst options = {\n    separateStepGroups: false\n};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\n### Configuration - `FormatConfig`\n\nPassing a `FormatConfig` object to format method (or other Ast type methods where it's applicable), how feature file\ntext is rendered can be set.\n\n| Option               | Description                                                                            | Default                                                                                |\n|:---------------------|:---------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|\n| `oneTagPerLine`      | Should the tags be rendered separately, one by line?                                   | `false`, i.e., all tags of a scenario, feature, etc. will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated?                                           | `false`                                                                                |\n| `compact`            | Should empty lines be skipped, removed from the result?                                | `false`, i.e., there will be empty lines in appropriate places                         |\n| `lineBreak`          | The line break character(s).                                                           | `null`, i.e., it will determine the line-break based on the platform                   |\n| `indentation`        | The indentation character(s).                                                          | `'  '`, i.e., it uses two space characters to add indentation where it's appropriate   | \n| `tagFormat`          | The tag format to be used (see [gherkin-ast](https://github.com/gherking/gherkin-ast). | `TagFormat.FUNCTIONAL`, i.e., the tags will be outputed as `@name(value)`              |\n\n## Other\n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n\nThis package uses [debug](https://www.npmjs.com/package/debug) for logging, use `gherkin-formatter` to see debug logs:\n\n```shell\nDEBUG=gherkin-formatter* node my-script.js\n```\n","readmeFilename":"README.md","gitHead":"a093bafafbf4e464bed77bfc75c9b2bdad41f9e7","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-T80BpWHxhfDaEKj8++1OZ8eUdm9e5eScdQ4OMy1+VCwV9pv9G+WiNFJK5XZ5WhOVueVQMh2OfluiZNhHtnVReQ==","shasum":"47d36344136ac18d288164fdc8cc08becc02422c","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.2.0-beta.8.tgz","fileCount":50,"unpackedSize":45761,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmQ8g7Seqv6tsHRgvIw0k+gABz0/qBkSzm9W7Y2jhxGAIgHCU2KdiaowTwCR63D2Aq8eXJwiGQBrJlYOZ5WmaKQh4="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.2.0-beta.8_1699707235867_0.18890214602122102"},"_hasShrinkwrap":false,"deprecated":"Use latest version: 1.2.0!"},"1.2.0":{"name":"gherkin-formatter","version":"1.2.0","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","lint":"eslint . --ext .ts --fix","compile":"tsc && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.12","@types/jest":"^29.5.8","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.10.0","@typescript-eslint/parser":"^6.10.0","copyfiles":"^2.4.1","eslint":"^8.53.0","gherkin-io":"^1.2.0","jest":"^29.7.0","jest-junit":"^16.0.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","typedoc":"^0.25.3","typescript":"^5.2.2"},"dependencies":{"debug":"^4.3.4","gherkin-ast":"^3.4.0","lines-builder":"^1.5.1","table":"^6.8.1","tslib":"^2.6.2"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@1.2.0","gitHead":"bbecbf9f5523b28484435f73a8905f47862b9eaf","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-RnpqG79Bf3x4gHAGZ/CbAHC0z30YvOm4CWvzQhsl0yPcxDxc9yzmekFDjiv1OIZn2WOkZHe0cssi2zoX9rsb5g==","shasum":"6ff29d1938ca84ec5f9e70240c0e80b4683b210a","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.2.0.tgz","fileCount":50,"unpackedSize":45754,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gherkin-formatter@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNnuffBpDsJGFMiQToQdUYilD1pMOQGsV+LcUCKK0BAgIgOL5RgVXifl6DnonCXuhScTx2WWp8hSAyUWlXjocUuas="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.2.0_1699708654769_0.753347173879773"},"_hasShrinkwrap":false},"1.2.1-beta.9":{"name":"gherkin-formatter","version":"1.2.1-beta.9","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","lint":"eslint . --ext .ts --fix","compile":"tsc && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.12","@types/jest":"^29.5.8","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.10.0","@typescript-eslint/parser":"^6.10.0","copyfiles":"^2.4.1","eslint":"^8.53.0","gherkin-io":"^1.2.0","jest":"^29.7.0","jest-junit":"^16.0.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","typedoc":"^0.25.3","typescript":"^5.2.2"},"dependencies":{"debug":"^4.3.4","gherkin-ast":"^3.4.0","lines-builder":"^1.5.1","table":"^6.8.1","tslib":"^2.6.2"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@1.2.1-beta.9","readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square) ![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square) ![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square) ![CI](https://img.shields.io/github/actions/workflow/status/gherking/gherkin-formatter/ci.yml?branch=master&label=ci&style=flat-square) ![Docs](https://img.shields.io/github/actions/workflow/status/gherking/gherkin-formatter/docs.yml?branch=master&label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from\nyour [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n\n```typescript\nimport { format, FormatOptions } from \"gherkin-formatter\";\nimport { Document } from \"gherkin-ast\";\nimport { read } from \"gherkin-io\";\n\nconst document: Document[] = await read(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups: false};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {read} = require(\"gherkin-io\");\n\nconst document = await read(\"./test.feature\");\nconst options = {\n    separateStepGroups: false\n};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\n### Configuration - `FormatConfig`\n\nPassing a `FormatConfig` object to format method (or other Ast type methods where it's applicable), how feature file\ntext is rendered can be set.\n\n| Option               | Description                                                                            | Default                                                                                |\n|:---------------------|:---------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|\n| `oneTagPerLine`      | Should the tags be rendered separately, one by line?                                   | `false`, i.e., all tags of a scenario, feature, etc. will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated?                                           | `false`                                                                                |\n| `compact`            | Should empty lines be skipped, removed from the result?                                | `false`, i.e., there will be empty lines in appropriate places                         |\n| `lineBreak`          | The line break character(s).                                                           | `null`, i.e., it will determine the line-break based on the platform                   |\n| `indentation`        | The indentation character(s).                                                          | `'  '`, i.e., it uses two space characters to add indentation where it's appropriate   | \n| `tagFormat`          | The tag format to be used (see [gherkin-ast](https://github.com/gherking/gherkin-ast). | `TagFormat.FUNCTIONAL`, i.e., the tags will be outputed as `@name(value)`              |\n\n## Other\n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n\nThis package uses [debug](https://www.npmjs.com/package/debug) for logging, use `gherkin-formatter` to see debug logs:\n\n```shell\nDEBUG=gherkin-formatter* node my-script.js\n```\n","readmeFilename":"README.md","gitHead":"39332291082e77a754cc165f402d08e94ce74c5e","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-xToy2V23D7mxV1k9DnLgsK8lu5wz9V1aAp+4fSgGqOicuFPV9TRclwAk93FgDlhnNQpuw+FC/nWbOzXqmGngww==","shasum":"70470b0ec51aa3ec5794b0b1d9d04dd8bc205cc6","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.2.1-beta.9.tgz","fileCount":50,"unpackedSize":46839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErNCZwumcn8Gv2sde5WS3GqPfhLGLWefreLZX6UNUFzAiBmulD9fRuJebJVxfE14zff1wlSyuiwpAyjVj5EtjCX0Q=="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.2.1-beta.9_1700841698343_0.14722739691449838"},"_hasShrinkwrap":false,"deprecated":"Use latest version: 1.2.1!"},"1.2.1":{"name":"gherkin-formatter","version":"1.2.1","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","lint":"eslint . --ext .ts --fix","compile":"tsc && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.12","@types/jest":"^29.5.8","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.10.0","@typescript-eslint/parser":"^6.10.0","copyfiles":"^2.4.1","eslint":"^8.53.0","gherkin-io":"^1.2.0","jest":"^29.7.0","jest-junit":"^16.0.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","typedoc":"^0.25.3","typescript":"^5.2.2"},"dependencies":{"debug":"^4.3.4","gherkin-ast":"^3.4.0","lines-builder":"^1.5.1","table":"^6.8.1","tslib":"^2.6.2"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@1.2.1","gitHead":"1f000f2bc032c1e7a0c7519c68c7958b79eca57f","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-iHYrQxqDoSiF0Xl5jfNC5KdfMabN2orcP/GNpSmLHQeWIETIHWDz51B2MPkd4MPomgCxgHKYJF3HtqT5ytcqUA==","shasum":"bd1dbce5ee72a7ef620024646ea871a937611dee","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.2.1.tgz","fileCount":50,"unpackedSize":46832,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gherkin-formatter@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8KZ1geTrC/CBFtHJBb50UL7PE9eI+kj08N1lOlMtf0AiBUnBdw1/DT2II+dhaPna2rsh3muu8gi0HEhvi8NjaDQw=="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.2.1_1701683405675_0.19653782345505588"},"_hasShrinkwrap":false},"1.2.2":{"name":"gherkin-formatter","version":"1.2.2","description":"Tool to format gherkin-ast model to gherkin string","main":"index.js","types":"index.d.ts","scripts":{"build":"npm run buildUpdate && npm test && npm run typedoc","buildUpdate":"npm run clean && npm run compile && npm run copyToDist","copyToDist":"copyfiles -f *.txt *.md package.json dist","typedoc":"typedoc --out ./docs ./src && touch ./docs/.nojekyll","clean":"rimraf ./dist ./docs","test":"jest --coverage","lint":"eslint . --ext .ts --fix","compile":"tsc && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"author":{"name":"GherKing","url":"https://github.com/gherking"},"license":"MIT","engines":{"node":">=12.0.0"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"homepage":"https://github.com/gherking/gherkin-formatter#readme","devDependencies":{"@types/debug":"^4.1.12","@types/jest":"^29.5.11","@types/node":"^20.11.5","@typescript-eslint/eslint-plugin":"^6.19.0","@typescript-eslint/parser":"^6.19.0","copyfiles":"^2.4.1","eslint":"^8.56.0","gherkin-io":"^1.3.0","jest":"^29.7.0","jest-junit":"^16.0.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","typedoc":"^0.25.7","typescript":"^5.3.3"},"dependencies":{"debug":"^4.3.4","gherkin-ast":"^3.4.1","lines-builder":"^1.5.1","table":"^6.8.1","tslib":"^2.6.2"},"jest":{"transform":{"^.+\\.ts?$":"ts-jest"},"testEnvironment":"node","testMatch":["**/tests/**/*.test.ts"],"testPathIgnorePatterns":["/node_modules/","dist"],"coverageDirectory":"./coverage","collectCoverageFrom":["./src/**/*.ts"],"moduleFileExtensions":["ts","js"],"coverageThreshold":{"global":{"branches":85,"functions":85,"lines":85,"statements":85}}},"_id":"gherkin-formatter@1.2.2","gitHead":"02bb1af54fae32c5d52963f07949d13f700a21e0","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-sKySjTvnrxqiOyh5UZAbcpF2EjutUb6SkNyry5fUV9mErDXOhMzlFVz2JCEyt7eBkHzQ32JT/rACQF1//+6TmA==","shasum":"30257c4571c971b1ea1f1782c8170a08acea7bf1","tarball":"https://registry.npmjs.org/gherkin-formatter/-/gherkin-formatter-1.2.2.tgz","fileCount":50,"unpackedSize":47627,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/gherkin-formatter@1.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdbNBqASW0I3KgfmRMeURbL6bxkduXOAVb6omPm4y57AiEAwL6A6q43ZJfhYpcY1pMoNZN9AkescmIJTCjjhEJLZCQ="}]},"_npmUser":{"name":"szikszail","email":"sziklaszlo@gmail.com"},"directories":{},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gherkin-formatter_1.2.2_1705918492510_0.7424415752138025"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-25T19:20:23.860Z","0.0.1":"2018-03-25T19:20:23.910Z","modified":"2024-01-22T10:14:53.079Z","0.1.0":"2019-07-17T16:14:15.643Z","1.0.0":"2021-03-25T17:35:55.553Z","1.0.1":"2021-03-25T17:48:16.575Z","1.0.2-beta.1":"2022-01-10T16:38:09.899Z","1.0.2-beta.2":"2022-01-10T16:48:09.106Z","1.0.2":"2022-01-10T16:57:20.605Z","1.0.3-beta.3":"2022-01-23T21:13:37.762Z","1.0.3-beta.4":"2022-01-24T06:56:07.937Z","1.0.3":"2022-01-29T15:18:21.783Z","1.1.0-beta.5":"2022-02-21T12:18:29.816Z","1.1.0-beta.6":"2022-02-21T21:14:07.204Z","1.1.0-beta.7":"2022-03-05T14:37:02.897Z","1.1.0":"2022-03-15T11:29:19.485Z","1.2.0-beta.8":"2023-11-11T12:53:56.052Z","1.2.0":"2023-11-11T13:17:34.971Z","1.2.1-beta.9":"2023-11-24T16:01:38.596Z","1.2.1":"2023-12-04T09:50:05.898Z","1.2.2":"2024-01-22T10:14:52.648Z"},"maintainers":[{"name":"monikalaszlo","email":"laszlomonika14@gmail.com"},{"name":"rakur","email":"balazs.racz94@gmail.com"},{"name":"wgula","email":"gulacsi.gula.norbert@gmail.com"},{"name":"szikszail","email":"sziklaszlo@gmail.com"},{"name":"judit-nahaj","email":"n.juditt@gmail.com"},{"name":"sorosz89","email":"os.sandor@gmail.com"}],"description":"Tool to format gherkin-ast model to gherkin string","homepage":"https://github.com/gherking/gherkin-formatter#readme","keywords":["Gherkin","Feature","Scenario","Scenario Outline","Background","Step","Examples","AST"],"repository":{"type":"git","url":"git+https://github.com/gherking/gherkin-formatter.git"},"author":{"name":"GherKing","url":"https://github.com/gherking"},"bugs":{"url":"https://github.com/gherking/gherkin-formatter/issues"},"license":"MIT","readme":"# gherkin-formatter\n\n![Downloads](https://img.shields.io/npm/dw/gherkin-formatter?style=flat-square) ![Version@npm](https://img.shields.io/npm/v/gherkin-formatter?label=version%40npm&style=flat-square) ![Version@git](https://img.shields.io/github/package-json/v/gherking/gherkin-formatter/master?label=version%40git&style=flat-square) ![CI](https://img.shields.io/github/actions/workflow/status/gherking/gherkin-formatter/ci.yml?branch=master&label=ci&style=flat-square) ![Docs](https://img.shields.io/github/actions/workflow/status/gherking/gherkin-formatter/docs.yml?branch=master&label=docs&style=flat-square)\n\nTool to format gherkin-ast model to gherkin string\n\n## Usage\n\nThe format function of this package provides a formatted string (gherkin document) from\nyour [AST](https://github.com/gherking/gherkin-ast).\n\nIn TypeScript\n\n```typescript\nimport { format, FormatOptions } from \"gherkin-formatter\";\nimport { Document } from \"gherkin-ast\";\nimport { read } from \"gherkin-io\";\n\nconst document: Document[] = await read(\"./test.feature\");\nconst options: FormatOptions = {separateStepGroups: false};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\nIn JavaScript\n\n```javascript\nconst {format, FormatOptions} = require(\"gherkin-formatter\");\nconst {Document} = require(\"gherkin-ast\");\nconst {read} = require(\"gherkin-io\");\n\nconst document = await read(\"./test.feature\");\nconst options = {\n    separateStepGroups: false\n};\nconsole.log(format(document[0], options));\n// Feature: Test Feature\n//\n//   As a user...\n```\n\n### Configuration - `FormatConfig`\n\nPassing a `FormatConfig` object to format method (or other Ast type methods where it's applicable), how feature file\ntext is rendered can be set.\n\n| Option               | Description                                                                            | Default                                                                                |\n|:---------------------|:---------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|\n| `oneTagPerLine`      | Should the tags be rendered separately, one by line?                                   | `false`, i.e., all tags of a scenario, feature, etc. will be rendered in the same line |\n| `separateStepGroups` | Should step groups (when-then) be separated?                                           | `false`                                                                                |\n| `compact`            | Should empty lines be skipped, removed from the result?                                | `false`, i.e., there will be empty lines in appropriate places                         |\n| `lineBreak`          | The line break character(s).                                                           | `null`, i.e., it will determine the line-break based on the platform                   |\n| `indentation`        | The indentation character(s).                                                          | `'  '`, i.e., it uses two space characters to add indentation where it's appropriate   | \n| `tagFormat`          | The tag format to be used (see [gherkin-ast](https://github.com/gherking/gherkin-ast). | `TagFormat.FUNCTIONAL`, i.e., the tags will be outputed as `@name(value)`              |\n\n## Other\n\nFor detailed documentation see the [TypeDocs documentation](https://gherking.github.io/gherkin-formatter/).\n\nThis package uses [debug](https://www.npmjs.com/package/debug) for logging, use `gherkin-formatter` to see debug logs:\n\n```shell\nDEBUG=gherkin-formatter* node my-script.js\n```\n","readmeFilename":"README.md"}