{"_id":"@acmedinotech/txp","_rev":"1-9fcea1f8cdac4e10c4b87c895553ef54","name":"@acmedinotech/txp","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@acmedinotech/txp","private":false,"version":"0.0.1","description":"extensible block-style text parser","author":{"name":"kaiser shahid","email":"kaisershahid@gmail.com"},"license":"MIT","dependencies":{"ts-node":"^10.9.1","typescript":"^5.0.4"},"main":"dist/txp.js","alias":{"txp":["./src/*"]},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-export-default-from":"^7.18.10","@babel/plugin-transform-runtime":"^7.21.4","@babel/preset-env":"^7.21.5","@babel/preset-typescript":"^7.21.5","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/webpack":"^5.28.1","babel-jest":"^29.5.0","jest":"^29.5.0","ts-jest":"^29.1.0","ts-loader":"^9.4.2","webpack":"^5.81.0","webpack-cli":"^5.0.2","webpack-node-externals":"^3.0.0"},"scripts":{"test":"npx jest"},"repository":{"type":"git","url":"git+ssh://git@github.com/acmedinotech/txp.git"},"keywords":["text","processing","markdown","lex","parse"],"bugs":{"url":"https://github.com/acmedinotech/txp/issues"},"homepage":"https://github.com/acmedinotech/txp#readme","gitHead":"d6134f225db8bc07436d4bf21810937a99aa5154","_id":"@acmedinotech/txp@0.0.1","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-EcJzbkm+Y5NG6uxztbU//L8iWRjXP3KaxTMDasdMKf1p/PUXKXtkxkUIOmarqxxyV8YFiJg+m4rWfTIp3GNxeQ==","shasum":"de9f434a5809e460ed6094ddcc24482b7b7d58b2","tarball":"https://registry.npmjs.org/@acmedinotech/txp/-/txp-0.0.1.tgz","fileCount":23,"unpackedSize":28741,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeNr7UaLOfhcPiqZctBFW2/89lfinlLxW8TMOAdDNJpAIhANrenz+1VPtMtV/aVbTQgA2PkUJOCDIci/euSEbr+2zg"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTo3FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYBg//RAP03Vjk9ztD6DAhqC1EKVvH55Kee7t/UgyViK+P8glF/+ou\r\nBbQxGfTdF1RKqryMCLeVt3K4waxt1YM1a+Jv5RSThcP02wCob5t8I77VOO8x\r\nWfj+uWVTePB9mUD6w2yKzaEro8/0idAuwSAD5cu41zK9rI3Flby/rm8Fmz8F\r\n8S0nBi+d0zrHtXhmPapKPyEQmTTxpCP2TJCWU8iX8gJsQ4QFgvJO5yTINQsG\r\n49+KKOtE8l57OpxEyGjfbJAqIx2ZZ+crB75mZg/V+cRtLBI0S+jEs2vBOkPq\r\nIwxrTrovW7K2b6TWT7IYgHTIMh6Wd60YPjLoCPUkK25l4g0Y96kkGbr3Yd/w\r\nzdT0f4GpqQKcflBkrYLPwfqMsTVX+ZhupUP6gjEG1P58BYOUMLGmxoIRiYC8\r\nHGbRWMHXXshzWZte0G3J8XyPPdzvfdInKkOdkMpWipMA4jMslHEyx23ecasR\r\nFCQwuWLu01qkMYdaHWlWEvgIE3LISeC6EzU80TOOKF7QaZghiU20rWzUl23u\r\nkAg0F2Ed2xBh4XxEWHjmdAhXLs7BJwkxpzShAEgr1kTeeSz0/1QE73HOWWah\r\nAfFRUa5Xv8l9tesrZf+uuD+u2xLGJiEKyGdwjd0czvRxZRQancIHBaSqX+ZZ\r\nl7/B1/IEK2kfCF84r12jxdHfpiDDVIs9s9M=\r\n=hSz0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kaisershahid","email":"kaisershahid@gmail.com"},"directories":{},"maintainers":[{"name":"kaisershahid","email":"kaisershahid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/txp_0.0.1_1682869701593_0.02385700161014337"},"_hasShrinkwrap":false},"0.0.2":{"name":"@acmedinotech/txp","publishConfig":{"access":"public"},"private":false,"version":"0.0.2","description":"extensible block-style text parser","author":{"name":"kaiser shahid","email":"kaisershahid@gmail.com"},"license":"MIT","dependencies":{"ts-node":"^10.9.1","typescript":"^5.0.4"},"main":"dist/txp.js","types":"dist/index.d.ts","alias":{"txp":["./src/*"]},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-export-default-from":"^7.18.10","@babel/plugin-transform-runtime":"^7.21.4","@babel/preset-env":"^7.21.5","@babel/preset-typescript":"^7.21.5","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/webpack":"^5.28.1","babel-jest":"^29.5.0","jest":"^29.5.0","ts-jest":"^29.1.0","ts-loader":"^9.4.2","webpack":"^5.81.0","webpack-cli":"^5.0.2","webpack-node-externals":"^3.0.0"},"scripts":{"test":"npx jest","release:validate":"yarn test && npx webpack --mode production && echo '✅ release ready to go' && echo git sha: `git rev-parse HEAD` && echo '> run release.sh to tag/publish'","release":"node release.js"},"repository":{"type":"git","url":"git+https://github.com/acmedinotech/txp.git"},"keywords":["text","processing","markdown","lex","parse"],"bugs":{"url":"https://github.com/acmedinotech/txp/issues"},"homepage":"https://github.com/acmedinotech/txp#readme","gitHead":"f2d062dfa2c098652cb27fc08bfcc5e5c3da5276","_id":"@acmedinotech/txp@0.0.2","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-NV9Seo6iGKN4DlqyQQErG1i+oN1RoEVb4Kojerdm60tAzqYFvJMqk61gamg2vOxYWwfTU3R7aEpihXTLEm3X4g==","shasum":"bd813d82ca87e3e88040f44a86e293474336fcc1","tarball":"https://registry.npmjs.org/@acmedinotech/txp/-/txp-0.0.2.tgz","fileCount":43,"unpackedSize":66780,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWRjdPSK/YxLxTrubHOmMzQXKfvJH+fm63qmFKBN1qCgIgGY5aq1p0r3nmRwKrJAMUAuwlUJML0cNwGNINVcqG5ck="}]},"_npmUser":{"name":"kaisershahid","email":"kaisershahid@gmail.com"},"directories":{},"maintainers":[{"name":"kaisershahid","email":"kaisershahid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/txp_0.0.2_1685142574133_0.6732985413582326"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-30T15:48:21.514Z","0.0.1":"2023-04-30T15:48:21.745Z","modified":"2023-05-26T23:09:34.625Z","0.0.2":"2023-05-26T23:09:34.466Z"},"maintainers":[{"name":"kaisershahid","email":"kaisershahid@gmail.com"}],"description":"extensible block-style text parser","homepage":"https://github.com/acmedinotech/txp#readme","keywords":["text","processing","markdown","lex","parse"],"repository":{"type":"git","url":"git+https://github.com/acmedinotech/txp.git"},"author":{"name":"kaiser shahid","email":"kaisershahid@gmail.com"},"bugs":{"url":"https://github.com/acmedinotech/txp/issues"},"license":"MIT","readme":"# TextExpress (txp)\n\nTextExpress (txp) is a little framework for building custom text processors (such as Markdown to HTML).\n\nA processor is made up of a parser and multiple `BlockHandler`s. The parser typically processes line-by-line and will do the following on each line:\n\n- find a handler that accepts the beginning of the line\n- if no eligible handler found, throw error\n- otherwise, process line\n  - handler can consume entire line. if it will process the next line potentially, it returns `accept`, otherwise, it returns `complete`\n- if handler returned `accept`, on the next line, it can then either `reject` (resulting in looking up a handler), `accept`, or `complete`\n\nThis process repeats until all the lines are consumed without error.\n","readmeFilename":"README.md"}