{"_id":"@codewars/codemirror-unicode-helper","_rev":"7-a4f8b4c2870d146cba7885c837417510","name":"@codewars/codemirror-unicode-helper","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@codewars/codemirror-unicode-helper","version":"0.0.1","author":"","license":"MIT","_id":"@codewars/codemirror-unicode-helper@0.0.1","maintainers":[{"name":"kazk","email":"kazk.dev@gmail.com"}],"homepage":"https://github.com/codewars/codemirror-unicode-helper#readme","bugs":{"url":"https://github.com/codewars/codemirror-unicode-helper/issues"},"dist":{"shasum":"da08f52e0d7ff394fadf6b5db6da4af237ebf4a3","tarball":"https://registry.npmjs.org/@codewars/codemirror-unicode-helper/-/codemirror-unicode-helper-0.0.1.tgz","fileCount":29,"integrity":"sha512-SKWVeEGIHKNDX58h/Nz1IxejCqydUV2zAJcdtoXco61o600Jg+EHYY0tGcm21IytT40IbaELK988cT0YG7vHCg==","signatures":[{"sig":"MEQCIBrNwenJK11vqNkBHuigYmVrfFaCxF8WgC73tE3hLDJLAiA3t54tiaeox2IZ5hoj/YtvHh7vo7QNlqii7V2Z45HW6g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTUoECRA9TVsSAnZWagAA7uEP/RgaypJCMCJ4Ah+PwWBQ\nrsOpn0U6AkD4HQ57jIrbWhvRiQfTuzoY4J1J7/Jg6SLH1Arki3rVdxq5F8P5\nNtz6OeLMSW7FblEVdHlgRerwMS84fQ7CITZzSGDj1hyQGY59SE0UY/g5jhJZ\nz/HreoPog/4MEZxBx4JXCxUTLnGNAmQL/cpVnoySGGGzT6TUCXqHa7HNTNy9\nU4RYrCjuMiEbVS4qFNx9NbQIlE4KOv8d1Vyl1Ic7ExsmVetS3bZ+JjHNRVG2\nI29hI8S1kAA98+F3Sd6gZ/6u9s2bR/9jAYZ25ThAOmJUbm5lF0nO/ELnzdAo\nziisZYZiIpM4xsXeL7BxqgeioaYbRw0qcO1db03n6loKef50IHh3jN9DLGeL\nv57Yh65nDgOkIfu5BB0GnrlpPKukUfGXFy53cv4hmFntpCmkWhJ636GJKBqd\n/ZKOHOjYHx/q50bWUZlmSCYcd9bYLf6/n9FoDCEmBbU7c2oLt7s4khrjIFMY\nfVcW8uq0TIoq9JaKF0p0VNm0DlVJP69+EJOAhoBAtiNRu2AXCzITE1x7ckbv\nNWBB1mI5853Ps9u7objvudTfpq5HD/GJnIqt8oZM7voT7UV4K87w6OG73i45\no+OSayDx8cA8UjDR5fHr7uWzs47ShHugsEthicDDX0k3YIHLw6S4VIOjDpdK\n76qI\r\n=h3m8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/cjs/index.js","module":"lib/esm/index.js","gitHead":"dadc893d10ab140beef604bf68cbb6aa2b79cd52","scripts":{"build":"npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","prepare":"npm run build","build:cjs":"tsc --target es2020 --module commonjs --outDir lib/cjs","build:esm":"tsc --target es2020 --module es2020 --outDir lib/esm","build:umd":"rollup lib/esm/index.js --format umd --name CodeMirrorUnicodeHelper -o umd/codemirror-unicode-helper.js","build:umd:min":"terser umd/codemirror-unicode-helper.js -o umd/codemirror-unicode-helper.min.js"},"_npmUser":{"name":"kazk","email":"kazk.dev@gmail.com"},"repository":{"url":"git+https://github.com/codewars/codemirror-unicode-helper.git","type":"git"},"_npmVersion":"6.14.11","description":"CodeMirror extension for entering Unicode characters using LaTeX-like abbreviations","directories":{},"_nodeVersion":"12.21.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.33.3","terser":"^5.5.0","codemirror":"^5.58.3","typescript":"^4.1.2","@types/codemirror":"0.0.100"},"peerDependencies":{"codemirror":"5.x"},"_npmOperationalInternal":{"tmp":"tmp/codemirror-unicode-helper_0.0.1_1615677956335_0.7920093333689799","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@codewars/codemirror-unicode-helper","version":"0.1.0","author":"","license":"MIT","_id":"@codewars/codemirror-unicode-helper@0.1.0","maintainers":[{"name":"kazk","email":"kazk.dev@gmail.com"}],"homepage":"https://github.com/codewars/codemirror-unicode-helper#readme","bugs":{"url":"https://github.com/codewars/codemirror-unicode-helper/issues"},"dist":{"shasum":"e6525658233ef4cd58d06e4aede7deb307256329","tarball":"https://registry.npmjs.org/@codewars/codemirror-unicode-helper/-/codemirror-unicode-helper-0.1.0.tgz","fileCount":29,"integrity":"sha512-H47cQK/VtjLXSup0uosZibEuAfnoK5KyQZJgPdVVr6etYupBXY/NXw/+yZ2jq7w4prkAsHM61oeXdFw+N7aO7g==","signatures":[{"sig":"MEUCIQCNLUPZ06Ez661KDfLGabOqhgjdICzMBHjTAyhzZgQ7OwIgc/brdPS95JmzbyinccrA4+77rS8CiCGGln7NAPDSGm8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTXOaCRA9TVsSAnZWagAADaYP/2zw5gte9rDCAKgoWTsr\nLAXMoNHOjuy/fOZLTUKyi59VxWTYlZUBzZqfI/RV8CCoOGcVWXlpEB/MgamO\nJPGMqQ0aAIAuLKVaac0+nyYbvdF8FrBKXMwOos/g0e3EEPZQX0835DXbJYlE\nrzA4upkQUkgqMZWCKzHc5PToElP1kBJPJTYRyeBf86Z4Px1JUWQqbmf7Xy5r\nflqH7ok5MwlIMn+Oa2L7y7NctjjFXEpGUEIRkrTlyD7dw+chfWshGDOZcGMU\nvBSN9AI5Stuo7Dixx6cVG25bzFkMHTpMWZ+e8pYKXlonr8pwXsPY5o+yYg2O\nsXao2GK4nNPZimlYS3GwcrOiwhPoJeIq19PjcSK6h7/byPf2XzulaDOUWc4W\n21DYQRvgcQgtCBnWwANpsqBodnm8Et+YQTLjjGXi0zXDlvILMi8DpcAhDU9B\n4M2FKywe8jPIHdJ5gAmoVM4qSmWaIUfICVZdkig29vzxa81pA0yDpkhInX4y\nJXp7eBGBARFFyURHBcEuZ2UzMB3MshmOKByqvcztzGrWipMmXzIQVDonyoQv\nqu5+1CFiaNpBZ3yzwwqf/uSEfX9arLMwdI2o9HW6ZONj2wOre1ereoa953Pj\nNEE2SDUdWyK3lURdD7aXGRKAnUNhBYPGP8dQb5W9DQGU5fgqEDwQX2lznjVV\nMvgo\r\n=00Yg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/cjs/index.js","module":"lib/esm/index.js","gitHead":"87cad13bf92f3824baa2c497b508187e2e4548ce","scripts":{"build":"npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","prepare":"npm run build","build:cjs":"tsc --target es2020 --module commonjs --outDir lib/cjs","build:esm":"tsc --target es2020 --module es2020 --outDir lib/esm","build:umd":"rollup lib/esm/index.js --format umd --name CodeMirrorUnicodeHelper -o umd/codemirror-unicode-helper.js","build:umd:min":"terser umd/codemirror-unicode-helper.js -o umd/codemirror-unicode-helper.min.js"},"_npmUser":{"name":"kazk","email":"kazk.dev@gmail.com"},"repository":{"url":"git+https://github.com/codewars/codemirror-unicode-helper.git","type":"git"},"_npmVersion":"6.14.11","description":"CodeMirror extension for entering Unicode characters using LaTeX-like abbreviations","directories":{},"_nodeVersion":"12.21.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.33.3","terser":"^5.5.0","codemirror":"^5.58.3","typescript":"^4.1.2","@types/codemirror":"0.0.100"},"peerDependencies":{"codemirror":"5.x"},"_npmOperationalInternal":{"tmp":"tmp/codemirror-unicode-helper_0.1.0_1615688602163_0.08542987864521923","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-03-13T23:25:56.126Z","modified":"2026-07-08T16:33:19.149Z","0.0.1":"2021-03-13T23:25:56.493Z","0.1.0":"2021-03-14T02:23:22.287Z"},"bugs":{"url":"https://github.com/codewars/codemirror-unicode-helper/issues"},"license":"MIT","homepage":"https://github.com/codewars/codemirror-unicode-helper#readme","repository":{"url":"git+https://github.com/codewars/codemirror-unicode-helper.git","type":"git"},"description":"CodeMirror extension for entering Unicode characters using LaTeX-like abbreviations","maintainers":[{"email":"wes.winler@andela.com","name":"wesandela"},{"email":"rolando.sierra@andela.com","name":"rolo9128"},{"email":"Spencer.Jentzsch@andela.com","name":"spencerjentzsch"}],"readme":"# codemirror-unicode-helper\n\nCodeMirror extension for entering Unicode characters using LaTeX-like abbreviations.\n\nProvides functions `unicodeHelper` and `unicodeHelperWith`.\n\n- `unicodeHelper`: Hint helper with preconfigured sequences.\n- `unicodeHelperWith(pairs: [seq: string, sym: string][])`: Returns a hint helper with privided pairs.\n\n## Usage\n\nUsing with preconfigured sequences:\n\n```javascript\nimport CodeMirror from \"codemirror\";\nimport \"codemirror/addon/hint/show-hint\";\nimport { unicodeHelper } from \"@codewars/codemirror-unicode-helper\";\n\nCodeMirror.registerGlobalHelper(\n  \"hint\",\n  \"unicode-helper\",\n  predicate,\n  unicodeHelper\n);\n```\n\nUsing with custom sequences:\n\n```javascript\nimport CodeMirror from \"codemirror\";\nimport \"codemirror/addon/hint/show-hint\";\nimport { unicodeHelperWith } from \"@codewars/codemirror-unicode-helper\";\n\nCodeMirror.registerGlobalHelper(\n  \"hint\",\n  \"unicode-helper\",\n  predicate,\n  unicodeHelperWith([\n    [\"div\", \"÷\"],\n    [\"pi\", \"π\"],\n    [\"sqrt\", \"√\"],\n    [\"cbrt\", \"∛\"],\n  ])\n);\n```\n","readmeFilename":"README.md"}