{"_id":"gettext-volt","_rev":"8-91bd0019cf694964c57eea27c9b4296d","name":"gettext-volt","description":"Extract translatable strings from Volt templates","dist-tags":{"latest":"0.2.5"},"versions":{"0.2.0":{"name":"gettext-volt","version":"0.2.0","description":"Extract translatable strings from Volt templates","main":"index.js","directories":{"test":"test"},"scripts":{"test":"jshint index.js test/index.js && mocha"},"repository":{"type":"git","url":"git+https://github.com/perchlayer/gettext-volt.git"},"keywords":["volt","phalcon","gettext","i18n","translate","translation"],"author":{"name":"David Schissler"},"license":"MIT","bugs":{"url":"https://github.com/perchlayer/gettext-volt/issues"},"homepage":"https://github.com/perchlayer/gettext-volt","devDependencies":{"jshint":"^2.5.10","mocha":"^2.0.1"},"gitHead":"db2f5bc5511015e2e44f66eb12aea40463875504","_id":"gettext-volt@0.2.0","_shasum":"dce3fd8aa9ef6ad786cf9d489ff3dc54c72b1e35","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"dschissler","email":"david.schissler@gmail.com"},"maintainers":[{"name":"dschissler","email":"david.schissler@gmail.com"}],"dist":{"shasum":"dce3fd8aa9ef6ad786cf9d489ff3dc54c72b1e35","tarball":"https://registry.npmjs.org/gettext-volt/-/gettext-volt-0.2.0.tgz","integrity":"sha512-BqOCvS00PY2jw8nNQnMo+tUFcegRcr571IFJws+7MxyNcSQeyJZbWu5EKjZQd4CsLFNiH7bNHAgRUkyUmkJnzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiH4rJcLQs6KKPKhOZe+bSZz9x2ptGkvRh2hI2r87sRQIgAKN+y+Fhenu13aVOk+DEVyrIE7FWQJMbiNRO4q0Zd4I="}]}},"0.2.1":{"name":"gettext-volt","version":"0.2.1","description":"Extract translatable strings from Volt templates","main":"index.js","directories":{"test":"test"},"scripts":{"test":"jshint index.js test/index.js && mocha"},"repository":{"type":"git","url":"git+https://github.com/perchlayer/gettext-volt.git"},"keywords":["volt","phalcon","gettext","i18n","translate","translation"],"author":{"name":"David Schissler"},"license":"MIT","bugs":{"url":"https://github.com/perchlayer/gettext-volt/issues"},"homepage":"https://github.com/perchlayer/gettext-volt","devDependencies":{"jshint":"^2.5.10","mocha":"^2.0.1"},"gitHead":"e5a2cc2bf411c6c9c677cfe95191ea99f1026f73","_id":"gettext-volt@0.2.1","_shasum":"ad801d42b83ace6b8da5f44e943cbadf841f8257","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"dschissler","email":"david.schissler@gmail.com"},"maintainers":[{"name":"dschissler","email":"david.schissler@gmail.com"}],"dist":{"shasum":"ad801d42b83ace6b8da5f44e943cbadf841f8257","tarball":"https://registry.npmjs.org/gettext-volt/-/gettext-volt-0.2.1.tgz","integrity":"sha512-AWwo6wbEVxxbM8ZtEJg4He7t6TLixIWlsgc4sAeunZnpYUnzrq7UiG3ysNrCFEbH3jWVe0MgIxIKdEqqQIQuRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcKSV1Ew3MNq5Y3E/s594/p2K1kybaePpIDFEUNaGVnAiEAqWykTXBE5J6rvv63E28RbcpXkUoSaYeP8a9u4lzEVlk="}]}},"0.2.2":{"name":"gettext-volt","version":"0.2.2","description":"Extract translatable strings from Volt templates","main":"index.js","directories":{"test":"test"},"scripts":{"test":"jshint index.js test/index.js && mocha"},"repository":{"type":"git","url":"git+https://github.com/perchlayer/gettext-volt.git"},"keywords":["volt","phalcon","gettext","i18n","translate","translation"],"author":{"name":"David Schissler"},"license":"MIT","bugs":{"url":"https://github.com/perchlayer/gettext-volt/issues"},"homepage":"https://github.com/perchlayer/gettext-volt","devDependencies":{"jshint":"^2.5.10","mocha":"^2.0.1"},"gitHead":"7a0a9249f9bcec99149cbdb660fa27a47173e672","_id":"gettext-volt@0.2.2","_shasum":"64c4d9cfe84a0104ad042378e0ebeed0e1bf595b","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"dschissler","email":"david.schissler@gmail.com"},"maintainers":[{"name":"dschissler","email":"david.schissler@gmail.com"}],"dist":{"shasum":"64c4d9cfe84a0104ad042378e0ebeed0e1bf595b","tarball":"https://registry.npmjs.org/gettext-volt/-/gettext-volt-0.2.2.tgz","integrity":"sha512-fkbcPDdUp3fSq7ssA5vrMGkN9u4orrrWqLLv9kgouiVF063bvDYzAx9DFKbpkO8MsqcF+hKGi7rJKpnRbRJn1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDANglbRRpLc6HxkK384FCq/UBUxNfY9kRlqkI9TiyxVAiAzm76++cY0Hxn+vISSGE0ag8CglJIU9/PM5bk1yXzyqA=="}]}},"0.2.4":{"name":"gettext-volt","version":"0.2.4","description":"Extract translatable strings from Volt templates","main":"index.js","directories":{"test":"test"},"scripts":{"test":"jshint index.js test/index.js && mocha"},"repository":{"type":"git","url":"git+https://github.com/perch-foundation/gettext-volt.git"},"keywords":["volt","phalcon","gettext","i18n","translate","translation"],"author":{"name":"David Schissler"},"license":"MIT","bugs":{"url":"https://github.com/perch-foundation/gettext-volt/issues"},"homepage":"https://github.com/perch-foundation/gettext-volt","devDependencies":{"jshint":"^2.5.10","mocha":"^2.0.1"},"gitHead":"f0a31f1bf619d3d6f9a92f7ff2fe1161048cadde","_id":"gettext-volt@0.2.4","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"dschissler","email":"david.schissler@gmail.com"},"dist":{"integrity":"sha512-BUPrR7YGUZtZCcSmVTkcD2ib1AWYAfFHue9C5ob0Y8ARr7PGwtzLbUlQUxrFa4EYGwUVTReSibtd/hJmNCMHig==","shasum":"23b2f8252d8fee88b94f59260f7f6a44cb0bf102","tarball":"https://registry.npmjs.org/gettext-volt/-/gettext-volt-0.2.4.tgz","fileCount":4,"unpackedSize":7260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6iviCRA9TVsSAnZWagAAtqUP/A629otDRmH+3dS0VC2l\n214Zk880P/mYcM+kEribq8ilOIr4w5xTehyRScPyDLtuepunPxuvIFtLWPKb\nVOabtzdTh7zUU5K6jHKxG76ejP+QFocesOMqyDCu9NixFqbFLKYq/Q4jHLwC\n/Hk2tNHqIrl5NgWkJiuqMyvekEwyC7as0AlKuA2MAPId0ysYp5ReSI1jL+Rm\n/uqccDWW9Q3PWfd8YlNBc/ijmcXjQbmPij5aAMwSEV2mZfyyiw1dMsFTr+5u\nefS0ZJrD7bybdmc+7CPP8AdcimwyDju+uaD+0Yy8tvx7PhAkNGsCN6RKbvbC\nwpDQSl+6LASdlvGhzVKLMCCjMZVrh+00ekj1IlITc1Ktfq3/v2gziXX5D1pd\n0gbduNDVDVReoJtawxMJbUKq72Ak4di+k40xUJ306wPrtDIZ3pcwiR5hYMHp\npgioG2QmXoc1ZEoS61et1GOxUmrVW95szl5aDvkYn5Hb8+CPBzqlNfYVN5/k\nBVEgA+yY8QXF05D+zgAXZ8IcQGAfhDVB3+1SJQ1dxRInfPRU/WK+k3ZKZylg\naPxqlp9faTdH8h52I5tRcst+adzAvZ4t0Ppn5l5hwMeQnHVsi/ve6CFU5R5o\nWRh0+w1qcSzYdgOD+JMuQEvJo61e6MOHU+c0+TNwMkOcOmhBgOmLa65hB88b\nqiKR\r\n=ETTi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHF+xmKbXQhXu7lVdEKiyNJwNqH2FouGj3x0Ip8yigJAIgDsRRvFPC8Jq+GDad/CunasrFNnR4Py8BUpGUwhMoWtk="}]},"maintainers":[{"name":"dschissler","email":"david.schissler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gettext-volt_0.2.4_1542073313744_0.15972680221117264"},"_hasShrinkwrap":false},"0.2.5":{"name":"gettext-volt","version":"0.2.5","description":"Extract translatable strings from Volt templates","main":"index.js","directories":{"test":"test"},"scripts":{"test":"jshint index.js test/index.js && mocha"},"repository":{"type":"git","url":"git+https://github.com/perchlabs/gettext-volt.git"},"keywords":["volt","phalcon","gettext","i18n","translate","translation"],"author":{"name":"David Schissler"},"license":"MIT","bugs":{"url":"https://github.com/perchlabs/gettext-volt/issues"},"homepage":"https://github.com/perchlabs/gettext-volt","devDependencies":{"jshint":"^2.5.10","mocha":"^2.0.1"},"gitHead":"8e11feb1a71911385ecf27d06e0d35519d908583","_id":"gettext-volt@0.2.5","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"dschissler","email":"david.schissler@gmail.com"},"dist":{"integrity":"sha512-kOskmNTpxFgt1w2T6LV0bgfrzyj8L37UJMioi6Lbk4sk3DEzxJtVkVEf/kUkyxIrD15r7AXtb2/m6RlPoITCWw==","shasum":"77b0759def133584ba7e38e34ddc2499e1260865","tarball":"https://registry.npmjs.org/gettext-volt/-/gettext-volt-0.2.5.tgz","fileCount":4,"unpackedSize":7211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciaPiCRA9TVsSAnZWagAAavQP+gOlECsrf97bdPDEInfm\nyp0HldFaDM6phqABPOV3vKr64djI1MM9TNYaH/gLYPorNmJDxUqF7eONZJm2\nvC4jbMP9JEhPRHy3l/14UuVBwvi10lOgUcx1Ri17Wsp8WJ2wODz+4dAx4ETV\n6mTGtlM6ezg+rJ24uybD+ws3Jx5KF16PP0LL/OXrdF37yWEFctlCUjVnOUH3\nroztn+RI7yPqqZ3U37htbmVdJbaD4mEqcYCt/0ciSs/ybjJFKFgVeAdjt2p1\nVZt7HhOJ/yXIV8/Qg8wdcF1mJSvmT2A3JFYe7RbRjY+CNiMxvSwedmBlYtBY\n2GQ9TAfnYSD7842wocSyO2h/c1IufLYgfEVYmSuwjMAKSYrRr5WLCpgTVYRw\nVpuIqZFkrwkS4Dgs6EFwBdL02xdK8zFq0DKdO38wqA4uWrqeCgHkF4HPVTVz\nzyhlkNMOgrLxWn4zmf6/AHrCEJiTtTT0XNj04cZmTaZLneRAg0sUl/sVOiiE\nxO/avMh6SHZt4JZyICvgdzU5r1bV6e38rqTpgAA6UoB23rLuTNWUxZU8feGP\n98MiviPCZ4bZN3Wnf1tRZ8tMEhqIeV39bcbWgnq/UGasoUa9fNrNJ7tU7yGr\nanAXIbYpH/ekvEaIASQt2cySG98NnG5OcN9bCF8PtRz/NI7ua/h71md8xok0\nqkJq\r\n=3PYQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlKgjI2OpX4FWYtP5bzRP7Q70rRZniN6I4kL9Esf/qawIgPmGQ1xmS07K/DM1pbEvCnc/OvZNiQthm9eXjvWVQKm8="}]},"maintainers":[{"name":"dschissler","email":"david.schissler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gettext-volt_0.2.5_1552524258353_0.10532822613462978"},"_hasShrinkwrap":false}},"readme":"# gettext-volt [![Build Status](https://travis-ci.org/perchlabs/gettext-volt.svg?branch=master)](https://travis-ci.org/perchlabs/gettext-volt)\n\nExtract translatable strings from Volt template strings.\n\nIt can be used stand-alone or through [gmarty/gettext](https://github.com/gmarty/xgettext) or [perchlabs/xgettext-volt](https://github.com/perchlabs/xgettext-volt).\n\n### API\n\n#### new Parser(keywordspec)\nCreates a new parser.\nThe `keywordspec` parameter is optional, with the default being:\n```javascript\n{\n  _: [0],\n  gettext: [0],\n  ngettext: [0, 1]\n}\n```\nEach keyword (key) requires array of argument number(s) (value). When multiple argument numbers are specified, expressions using this keyword are treaded as single-plural.\n\n#### .parse(template)\nParses the `template` string for Volt expressions using the keywordspec.\nIt returns an object with this structure:\n```javascript\n{\n  msgid1: {\n    line: [1, 3]\n  },\n  msgid2: {\n    line: [2],\n    plural: 'msgid_plural'\n  }\n}\n```\n","maintainers":[{"name":"dschissler","email":"david.schissler@gmail.com"}],"time":{"modified":"2022-06-18T08:02:20.300Z","created":"2015-11-01T01:53:50.222Z","0.2.0":"2015-11-01T01:53:50.222Z","0.2.1":"2015-11-13T07:54:33.523Z","0.2.2":"2015-12-01T11:38:46.831Z","0.2.4":"2018-11-13T01:41:53.934Z","0.2.5":"2019-03-14T00:44:18.465Z"},"homepage":"https://github.com/perchlabs/gettext-volt","keywords":["volt","phalcon","gettext","i18n","translate","translation"],"repository":{"type":"git","url":"git+https://github.com/perchlabs/gettext-volt.git"},"author":{"name":"David Schissler"},"bugs":{"url":"https://github.com/perchlabs/gettext-volt/issues"},"license":"MIT","readmeFilename":"README.md"}