{"_id":"@anyxml/where-cursor-in","_rev":"5-0bb722baab6b454fa363e369ddcfdc33","name":"@anyxml/where-cursor-in","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@anyxml/where-cursor-in","version":"1.0.0","author":{"name":"Mora","email":"qiuzhongleiabc@126.com"},"license":"MIT","_id":"@anyxml/where-cursor-in@1.0.0","maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"8695998506d09bf83b9195315885adcf828821c0","tarball":"https://registry.npmjs.org/@anyxml/where-cursor-in/-/where-cursor-in-1.0.0.tgz","fileCount":14,"integrity":"sha512-1ZdMiZQDBNXSTgjkfUYJo+l6K6TbDmh2MAYtuuWuKGcU27X9xOQy/l4o6NPTzGz1qU/IYvlVX27XVjDyWvBlfQ==","signatures":[{"sig":"MEUCIQCmSZbaDkiTCV8dU+1JNky3PdoXAI052jH/sg9mWG1faAIgaQtSscQCUGBv/xaYM87h7WuWNL67wRPPdyXW3YbvPsc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36041},"main":"./lib/index.js","type":"module","engines":{"npm":">=6","node":">=14.18.0"},"exports":{".":{"types":"./lib/es/index.d.ts","import":"./lib/es/index.mjs","require":"./lib/cjs/index.cjs"}},"gitHead":"4140874126053d67c0e55d69cb8569ab6017466a","scripts":{"release":"durka release"},"_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","repository":"git@github.com:anyxml/anyxml-where-cursor-in.git"},"_npmVersion":"10.7.0","description":"查询光标在 anyxml 中的起始标签的具体位置","directories":{},"_nodeVersion":"20.15.1","engineStrict":true,"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/where-cursor-in_1.0.0_1724470277311_0.8191996484982718","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@anyxml/where-cursor-in","version":"1.0.1","author":{"name":"Mora","email":"qiuzhongleiabc@126.com"},"license":"MIT","_id":"@anyxml/where-cursor-in@1.0.1","maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"0553841447c9284517b3ac69dde824df3d47cac4","tarball":"https://registry.npmjs.org/@anyxml/where-cursor-in/-/where-cursor-in-1.0.1.tgz","fileCount":14,"integrity":"sha512-OC7+1uS+AmUbNCEkLCHce/Z3phHS8B/EwpCOS7IPSjkSYEdzP2y0T+rq9V39eYnsIIVd7eCQTLPHVzTcMoU9Nw==","signatures":[{"sig":"MEQCIAJJ4XS4rGx6GMnPGzTmeaUoAGUzFBZPYjJxtSsOnPYmAiBQZV1WzVw50Iaf8nF+pgEM3+HibP1DHeweHMTq4LVAAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36231},"main":"./lib/cjs/index.cjs","type":"module","types":"./lib/cjs/index.d.ts","engines":{"npm":">=6","node":">=14.18.0"},"exports":{".":{"types":"./lib/es/index.d.ts","import":"./lib/es/index.mjs","require":"./lib/cjs/index.cjs"}},"gitHead":"8c95dc442449bea8e92031793b3439d81362e887","scripts":{"release":"durka release"},"_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","repository":"git@github.com:anyxml/anyxml-where-cursor-in.git"},"_npmVersion":"10.7.0","description":"查询光标在 anyxml 中的起始标签的具体位置","directories":{},"_nodeVersion":"20.15.1","engineStrict":true,"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/where-cursor-in_1.0.1_1724506497388_0.6959077339328024","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@anyxml/where-cursor-in","version":"1.0.2","author":{"name":"Mora","email":"qiuzhongleiabc@126.com"},"license":"MIT","_id":"@anyxml/where-cursor-in@1.0.2","maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"647fd82f0187e08f80838f7b7dd9a1de88ed7ed6","tarball":"https://registry.npmjs.org/@anyxml/where-cursor-in/-/where-cursor-in-1.0.2.tgz","fileCount":14,"integrity":"sha512-B/fs1rozHZkgW36mqct6KMqxf4lrgZfvJOFn/3ZhJqhS7uwdgcrIR0MtjA5P8Ue3An7RoHOtMYF44hNtWLnw1A==","signatures":[{"sig":"MEUCIGkibf1RLhrOTA5glTN18SQmWs42RK2K/GVJNcBBERI3AiEAqXfio71mnHEPtt1pVR2vJgQmvTehvSGjbK3BVszgvME=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36685},"main":"./lib/cjs/index.cjs","type":"module","types":"./lib/cjs/index.d.ts","engines":{"npm":">=6","node":">=14.18.0"},"exports":{".":{"types":"./lib/es/index.d.ts","import":"./lib/es/index.mjs","require":"./lib/cjs/index.cjs"}},"gitHead":"0ed7cf01927f042d371dd085a29da8e76323cb95","scripts":{"release":"durka release"},"_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","repository":"git@github.com:anyxml/anyxml-where-cursor-in.git"},"_npmVersion":"10.7.0","description":"查询光标在 anyxml 中的起始标签的具体位置","directories":{},"_nodeVersion":"20.15.1","engineStrict":true,"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/where-cursor-in_1.0.2_1724575478665_0.282402107329897","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@anyxml/where-cursor-in","version":"1.1.0","author":{"name":"Mora","email":"qiuzhongleiabc@126.com"},"license":"MIT","_id":"@anyxml/where-cursor-in@1.1.0","maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"636c5af601a019e48b8a36a30c48fc4d2ec80706","tarball":"https://registry.npmjs.org/@anyxml/where-cursor-in/-/where-cursor-in-1.1.0.tgz","fileCount":15,"integrity":"sha512-MODXwFOapA9K/63wUcsguLWiQi1z/FiFusGQmm34Sog4x3Zg9cPGW0I1Od3Tw79Su5WSOystjNnEudzXbKLcqQ==","signatures":[{"sig":"MEUCIQCDWBWTH6/iFEDk9eFG++D8ZWBciydQArjfrGCG9Hwg0AIgBQfjAgc3KOKkt8B/10Uu8cXAxa5phVOwYI8W7Tkft2M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47198},"main":"./lib/cjs/index.cjs","type":"module","types":"./lib/cjs/index.d.ts","engines":{"npm":">=6","node":">=14.18.0"},"exports":{".":{"types":"./lib/es/index.d.ts","import":"./lib/es/index.mjs","require":"./lib/cjs/index.cjs"}},"gitHead":"0d2ec01bae6043aad2fe345bef2b2524343d41e8","scripts":{"release":"durka release"},"_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","repository":"git@github.com:anyxml/anyxml-where-cursor-in.git"},"_npmVersion":"10.7.0","description":"查询光标在 anyxml 中的起始标签的具体位置","directories":{},"_nodeVersion":"20.15.1","engineStrict":true,"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/where-cursor-in_1.1.0_1724822483697_0.83589669715268","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@anyxml/where-cursor-in","version":"1.1.1","author":{"name":"Mora","email":"qiuzhongleiabc@126.com"},"license":"MIT","_id":"@anyxml/where-cursor-in@1.1.1","maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"7b3197f981c9992c018365110789ac445e228992","tarball":"https://registry.npmjs.org/@anyxml/where-cursor-in/-/where-cursor-in-1.1.1.tgz","fileCount":15,"integrity":"sha512-/13g5s8VPHnvLioRV3dNKUGvmJhB7ZH6Wv9ovf3c3sZAjAb9G4rqBVb8ftNr4vfrlUy1msqOOGkEepE0H398MA==","signatures":[{"sig":"MEYCIQCZ4L+z+p4Uics3JEpW69OXNyj8jnQKn/vQWYx/Tfv1kwIhAKfMIRfX4TnHae0w4KGxUenvHOoFBanONNayhHwy2UtC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47845},"main":"./lib/cjs/index.cjs","type":"module","types":"./lib/cjs/index.d.ts","engines":{"npm":">=6","node":">=14.18.0"},"exports":{".":{"types":"./lib/es/index.d.ts","import":"./lib/es/index.mjs","require":"./lib/cjs/index.cjs"}},"gitHead":"99c3f688a923e50452476d1ff26e4d6c4c7006d1","scripts":{"release":"durka release"},"_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","repository":"git@github.com:anyxml/anyxml-where-cursor-in.git"},"_npmVersion":"10.7.0","description":"查询光标在 anyxml 中的起始标签的具体位置","directories":{},"_nodeVersion":"20.15.1","engineStrict":true,"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/where-cursor-in_1.1.1_1724825898056_0.4919578225989689","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@anyxml/where-cursor-in","version":"1.1.2","description":"查询光标在 anyxml 中的起始标签的具体位置","main":"./lib/cjs/index.cjs","types":"./lib/cjs/index.d.ts","type":"module","scripts":{"release":"durka release"},"engineStrict":true,"engines":{"node":">=14.18.0","npm":">=6"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"author":{"name":"Mora","email":"qiuzhongleiabc@126.com"},"license":"MIT","exports":{".":{"types":"./lib/es/index.d.ts","require":"./lib/cjs/index.cjs","import":"./lib/es/index.mjs"}},"repository":{"type":"git","repository":"git@github.com:anyxml/anyxml-where-cursor-in.git"},"_id":"@anyxml/where-cursor-in@1.1.2","gitHead":"912c6fe49f185e2b42bd72f23e46da51de8af563","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-+yXsBOb/Ok6adAGO73wroQC6QwaZlLnI5k+Ll4FKdCGCQyUuy9XMGVXvnQg1CwWVc49+DDJinLZ29AmsMW+J5g==","shasum":"69af6463e84d34ec74d734be79b8fbca093112ef","tarball":"https://registry.npmjs.org/@anyxml/where-cursor-in/-/where-cursor-in-1.1.2.tgz","fileCount":15,"unpackedSize":50412,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0BS26hf5hyeNNBVORaDJO2KyKkl1M2m1IJ6Lvm7k3lAiEApKmuKLUIU+4Cfwq97X1n/weUiujfCSdamRqk2blePkc="}]},"_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"directories":{},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/where-cursor-in_1.1.2_1725184181225_0.3993296610943968"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-24T03:31:17.207Z","modified":"2024-09-01T09:49:41.680Z","1.0.0":"2024-08-24T03:31:17.461Z","1.0.1":"2024-08-24T13:34:57.532Z","1.0.2":"2024-08-25T08:44:38.820Z","1.1.0":"2024-08-28T05:21:23.920Z","1.1.1":"2024-08-28T06:18:18.256Z","1.1.2":"2024-09-01T09:49:41.472Z"},"author":{"name":"Mora","email":"qiuzhongleiabc@126.com"},"license":"MIT","repository":{"type":"git","repository":"git@github.com:anyxml/anyxml-where-cursor-in.git"},"description":"查询光标在 anyxml 中的起始标签的具体位置","maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"readme":"# @anyxml/where-cursor-in\n\n查询光标在 anyxml 中的起始标签的具体位置。可用于编辑器中提示后续的补全内容。\n\n## Installation\n\n```bash\nnpm i @anyxml/where-cursor-in\n```\n\n## Usage\n\n```ts\nimport { whereCursorIn } from '@anyxml/where-cursor-in'\n\nconst cursorIndex = 3\nwhereCursorIn('<div class=\"xx\" />', cursorIndex, { /* Configure */ })\n\n// output: { id: 1, offset: 2, currentTag: 'div' }\n```\n\n### Support Configure\n\n[Configure](./src/constant.ts)\n\n\n<!--\n## Roadmap\n\nIf you have ideas for releases in the future, it is a good idea to list them in the README.\n-->\n\n## Changelog\n\n[Changelog](./CHANGELOG.md)\n\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","readmeFilename":"README.md"}