{"_id":"@caldwell/jsml","_rev":"6-d016c643f2dbb4ad8a7163fd9260094e","name":"@caldwell/jsml","dist-tags":{"latest":"1.1.5"},"versions":{"1.1.0":{"name":"@caldwell/jsml","version":"1.1.0","description":"a compact representation of HTML using Javascript arrays and objects.","main":"jsml.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/caldwell/jsml.git"},"author":{"name":"David Caldwell"},"contributors":[{"name":"Jim Radford"}],"license":"MPL-2.0","bugs":{"url":"https://github.com/caldwell/jsml/issues"},"homepage":"https://github.com/caldwell/jsml#readme","gitHead":"e8fba276a78c716f0ddc9d4fcc1d17cd2d6f8f86","_id":"@caldwell/jsml@1.1.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-qZITrEzE/P4ryw55HMdWxo4DTihZm4OM+XalFhExBZhmGd9PhMaKr5u86y1MRubHqeHE/chDtkaeUptjicyZSg==","shasum":"4277939070337c181ec25522526fa46f45a5081c","tarball":"https://registry.npmjs.org/@caldwell/jsml/-/jsml-1.1.0.tgz","fileCount":14,"unpackedSize":165400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflARJCRA9TVsSAnZWagAAjJ4P/27G+a5CM95R/1JO2v4Y\nHnCSILynOaH2P2Df2V0IuZtmeiRoRIUILstS9S3Vu1BNMlCTxiD6cf0M+7JI\n8PW1QmGDqq4nke2xsBOswmnN2W4ujmOFmJnElCZ5C0dyE68iSn7nOoTD8R2r\nMcKR8Y7zoLVCTWT3lmM5l3RZ7uXwuff0zZjLVED7YIe8vfG42MrjhHfbhkM8\nhsAMF4i36LzQ/4PhrNQXQfAIs1hoeg2apFcaEdhaPQ/YUKASAmbNTznBKiJh\nltMXVKzkb15S6XSazjFKuKUvi7hPw5TUQrjlg+CAdMYJXL8J8XmUvnsopNio\n5dE/2yA1DT8JsFxkS9hIJrmY2eSbrUKtLAAvAW9BDL9gP4lbTYsbP/JgIcUQ\n+qb/oi3fBRlmArYTGH/KpYZJFb6AG7dppBh6U+nm/Wnqh3l5keK3ehS+N28K\nYgX8glQDuFmyyLX64R5hRQPBfNi7gmCkqI2jegaE6zS4uyMiw96oZ3dKWymH\nd+y+hGvA9CeRCZbA1pHBiEjOd6Nl8OTzMzR2KwRbIbiRA2q3rfpzgshFRLkX\nljc+fh6/fyv7kuMZP/PuGXGLxRXFnjO/7gFn5v3UwyxuK7Q8OOQHldW8iZfM\nYbimQglACvX6/q//EkwFrd+mzUs0ngW/Vnl6RjRm2PHwHCLkUe6ynJ6/jSCr\nj1KF\r\n=eTxO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTmkTXyUhw5FW9kKh2yOcBKDveCgnYGY//GIgeEEr9GgIgULctyKeloO3CMlSjZ+VEDAZK1OFshfFAPWR9s+xEIs8="}]},"maintainers":[{"name":"caldwell","email":"david+npm@porkrind.org"}],"_npmUser":{"name":"caldwell","email":"david+npm@porkrind.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsml_1.1.0_1603535944473_0.8652435108731245"},"_hasShrinkwrap":false},"1.1.1":{"name":"@caldwell/jsml","version":"1.1.1","description":"a compact representation of HTML using Javascript arrays and objects.","main":"jsml.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"rm -rf release && git clone . ./release && cd release && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/caldwell/jsml.git"},"author":{"name":"David Caldwell"},"contributors":[{"name":"Jim Radford"}],"license":"MPL-2.0","bugs":{"url":"https://github.com/caldwell/jsml/issues"},"homepage":"https://github.com/caldwell/jsml#readme","gitHead":"c35b58f277f5cd56dd795abec6cd7a4d8e5dd554","_id":"@caldwell/jsml@1.1.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-YTRJiBI0JGbmOyikEkY5Qsi9EFoPth0E8SNAuwKeMFhOyQC/0kCdyM6riTRAPKypYVCC73NLJLKjvKeUg5hb/w==","shasum":"e2bfaaaed6fc06f78287c8234afc3045873f694f","tarball":"https://registry.npmjs.org/@caldwell/jsml/-/jsml-1.1.1.tgz","fileCount":11,"unpackedSize":139245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflAfwCRA9TVsSAnZWagAAapUP/3Jr4OYwu3hs6gNpsykZ\nMds+RdZxNhjgATftDPLEVtQzzKNE9uGS3vCie++mUK0WfoMcnebBiq0BYCRU\ncPWCtX0Ud4NWOolPL+3l3Yuzf86fBFuaC4hys/p3lxQDQhjTfMCxlULAQY3+\nYcPvWTPPXCh6Me5+Xgv9I/tXt8x+0vYvkbGOXtFojnG7QZjJqPqxKubQzqeK\nfVpqIjk/K+U/PtcHFYGLsLVvYUGaug5G0pIzL0fuXaBkSQ5r35e1JnRiP5ct\nDX/xGtquZEvU2qgZW8Ak7eHH4G+f3Gizpa1fCVQRy2BXhQhYYfPTSmMIPbk/\n0T6Bo54EIqG656Pmb5L8VxmxY6en7T0ez5FtcBSW24SiZ4nA+HddRJH06Ha9\nfqu1DJdIkWOOhek5vspeT+sjY8PUyM2S4ToPHR0r7aIAL3opLIfLAucq947c\ncGF0hIhTWONNIC9ovsob9AVYZO9p480XXR5cRPJBlXQIxsPShoxUTSIn2KdH\nMKzVv/+YgrwOJu3mVI0dc6MGMX1qNZoeJXGnr6Ntd+tAvG2GvNEsYCqbf5IU\nWvZ5itfA9x+OKLrFlk/7NlK+6hF39ta3aZDTK4ju12I49g568+tje1m3lIWi\n5sje+l57GNcOPQ4fCvg7uQWOboGT11wVldrp8j2MuW7slstq86q1N8pyQlcN\nz7SN\r\n=Wift\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCADHXRLVA9uFi41U/V8FDWRJBcAfDjxMzgT+lzQtoedQIhAM5p8evzfO1TIiLPfpgTt2hnaRzxJzitraHuB9Bk0PqS"}]},"maintainers":[{"name":"caldwell","email":"david+npm@porkrind.org"}],"_npmUser":{"name":"caldwell","email":"david+npm@porkrind.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsml_1.1.1_1603536880286_0.611688953222538"},"_hasShrinkwrap":false},"1.1.2":{"name":"@caldwell/jsml","version":"1.1.2","description":"a compact representation of HTML using Javascript arrays and objects.","main":"jsml.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"rm -rf release && git clone . ./release && cd release && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/caldwell/jsml.git"},"author":{"name":"David Caldwell"},"contributors":[{"name":"Jim Radford"}],"license":"MPL-2.0","bugs":{"url":"https://github.com/caldwell/jsml/issues"},"homepage":"https://github.com/caldwell/jsml#readme","gitHead":"50982298e3345c5d3cc8b50a52dd55596cc048ab","_id":"@caldwell/jsml@1.1.2","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-q/0h2fTMVx1+aQVwcoSmNDx8Ym4Tlylv97hvzR7NbQnpyKMl+/Oc4YYnfK6JpcnI95It39xMO6JNAVsP8cdvTg==","shasum":"3eb90811e6662fa30212a1c67be218f8a66aa190","tarball":"https://registry.npmjs.org/@caldwell/jsml/-/jsml-1.1.2.tgz","fileCount":11,"unpackedSize":139270,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzP9xm7jacvsgrH5b4pLPoYMvV5QFLJXFkgV8a2IyawAIgIdeJUyrrNEz5aqrIpuzJhAR0sdnFKQO2mJlJlqtW+VE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8d+zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbYw//eO2OAoOHzuZzpsP5KrtZNem8RPzPnZGvkX/XZwKcCARz5xzx\r\ng2/AbmF28oEIsezI3RlkjT5z7FXybjDYSPSnkbFGrjpSJAc0jjxjkrCeUFiM\r\nTuJPrlzTw/gmJ0BrQdjkiFWJgEf5BH5Rp4I3zSIKzrRPE/rr/xvCVg5nOWRN\r\nCsWjlsZxnhkZ6+q9lE1MU6FyNKaFRyMxsmUL58t2FCIqkzKAze3XX/u2AjW3\r\nSEbB0Zv1HuSyXJl9AKVcwpBkxQCaYhlv6fNP56oXTw38q5Wc9Cola5+HzUHZ\r\n9LhbSo2SvXjI4rm1ry+FCJJO2UzjMf22I8YoV5Wi6i4RFAjMeuvTX5l49NIc\r\nYuQ7r5nLQHfsdy4SLd9nzSXriIe5aLbP8z0D+jWKN2NwNcPwIahKGxlTzCqd\r\n+EfsjfQ9qTGjLKNfZjAwhBzROL8XXo7R3wR6a6vIsPftRClXaVQJcMsQBdGK\r\nMpFcFAz1dj9gcKuk8h/E2ogpBElQu2fx2CaZ9Qf8wcJiH+dYgcGJG2loIJk3\r\n3rlAMfuLd94hA/S0hboBBzk8BCW26SnfxitLV4NyHlON56ucZidjErMIbvHG\r\nYPdb8TYIEulK+9cQOPUho7WMM7bYd3qRFnrbBdp8Ym4Tt6kzymLDA2Gz5jTz\r\nhrmbWU6Pwf4ogVOlg8KQ1rSmG8Iu+zUN6ro=\r\n=uH75\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caldwell","email":"david+npm@porkrind.org"},"directories":{},"maintainers":[{"name":"caldwell","email":"david+npm@porkrind.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsml_1.1.2_1676795827628_0.9856031581563567"},"_hasShrinkwrap":false},"1.1.3":{"name":"@caldwell/jsml","version":"1.1.3","description":"a compact representation of HTML using Javascript arrays and objects.","main":"jsml.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"rm -rf release && git clone . ./release && cd release && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/caldwell/jsml.git"},"author":{"name":"David Caldwell"},"contributors":[{"name":"Jim Radford"}],"license":"MPL-2.0","bugs":{"url":"https://github.com/caldwell/jsml/issues"},"homepage":"https://github.com/caldwell/jsml#readme","gitHead":"0bb94294d8445a91a3b867e65e2ac911f5271b76","_id":"@caldwell/jsml@1.1.3","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-lqRr1NBQsxGLqmHPIWRIGfprnqOWhpb6ZhcTvsL7mPEwOp7wBrEpMqpP5Yi1jzzo4D69VdA1eLUaaoSjcPfQMQ==","shasum":"b849d0bfcb0e6bff1ac90048bef1bc9bd9efd20a","tarball":"https://registry.npmjs.org/@caldwell/jsml/-/jsml-1.1.3.tgz","fileCount":11,"unpackedSize":139752,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZ1F/1uztb6W0z6FV6S2JFondRrjbP+KAu5EpjvbbqzAiB2ihY7HGOnwzJF0QujTqNsYXDxoJKT0KGKJ0frtxDXFA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9Ij+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmptww//YEv5iRwwKFa5Y+kawWJTv3YcgavQ8x+aRNwlBtqXNqZfa9U3\r\n/8uYl8cknRqSve5Y6oBWkc8c5oaSBqIeD0siHGE5jqu269R6Nk5DxbE4sNMi\r\nQSrRLfc6jFTOPat8qQgLtgH2oNoBFxYr/4pi4bpNeihbPsfymcVPRufHu7Mi\r\nKR2eLZ/9oCu5R3w1IvnCEkBv77bqRT90JdDBoff7yPSAvRcf2o9HrFqj2NHp\r\nH2semRPVlxVSo7taHgeEeh3q/RSmyaI6hDg8XI39aHor3SzMcd2/VzA9dnro\r\np6vdY0hBnorg/ECde6EJJEZrVRy9ON2w/H6me9eWzUWDj0Aac9dU4cbvav8u\r\n+d3y6ErPF3vI+JfU4awLJnC2aPlcgJP8Fwc2l/bPXFg7USMEtUVfsO78iVWV\r\nbjGW20B4QUsqlBVMZzbi4ZOST0y97f95lCZxhFOS1aMmYkSHqpucqodU5Ok9\r\n/P4Rxlmi6Qqs9Z7X42A2/57XthH5eL5gRLME0lqpBGiJRBFf2wcKZOZUrFyu\r\nEbcpJB1+D/viXhkYa5gwvCZQAu82w3r8MgW3QmtbnWoarNhHfqfWJ9xcuZDf\r\n+wE6QawcWzbAJWpo4O1M/ayhTWUfAGQlJ9tIDS0TLEXOLQz+zP6MPy3jjXpi\r\n1okeWOKBkEP31w/24KhZZWuZkZvYHTN5x2U=\r\n=jCYU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caldwell","email":"david+npm@porkrind.org"},"directories":{},"maintainers":[{"name":"caldwell","email":"david+npm@porkrind.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsml_1.1.3_1676970237786_0.16697449508299989"},"_hasShrinkwrap":false},"1.1.4":{"name":"@caldwell/jsml","version":"1.1.4","description":"a compact representation of HTML using Javascript arrays and objects.","main":"jsml.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"rm -rf release && git clone . ./release && cd release && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/caldwell/jsml.git"},"author":{"name":"David Caldwell"},"contributors":[{"name":"Jim Radford"}],"license":"MPL-2.0","bugs":{"url":"https://github.com/caldwell/jsml/issues"},"homepage":"https://github.com/caldwell/jsml#readme","gitHead":"608f0d981d58cebcce0e4854e7f1dc31315096c7","_id":"@caldwell/jsml@1.1.4","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-TDU2mg5zEUGf+NiGaRYn16bd5PS08v4wGDUqZ5M1PIbX+mrfdF5wa7bkuDCqvjKvZzXIUIcDvNKSPvnGXSHqIA==","shasum":"f91bc58f66d733569816676ccce25c8070b4031f","tarball":"https://registry.npmjs.org/@caldwell/jsml/-/jsml-1.1.4.tgz","fileCount":11,"unpackedSize":139956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2PvELH6D8sM8RaaHuzNBWzxsXq2BrAoUY+bE2RX1IkAiB4BW0bk4vwy1Vm4qxKVrtXuBKzhrtABJ95knTL6lSuTg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9Y/JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzlxAAgK7SJVze4+UE+SAQfNvJ1VmtASE5XdXShGG2iKqjxA5YdAxa\r\nSRSvoFAyxtYfIFruNpKPAmS2Me8NbFuMJkCznala3nrmxX+tAG5CWj+Jhf2D\r\nCv61WHlsdexossD5SypliZWff9R2RuWbG3LiMXKSo57ckxXu1obVlC9jxtSL\r\n2sR7UDO4lcEeCBVl/y6txpZTk+v4IZBoPmo73cCZTy1LtMR82J3zLmXWJ5z5\r\nu3+/g+YkPwglVa78ItNU0ZXH14UVshatWEBmY+tT6uttq3wKeGVVs7vWyT/9\r\nGz5Gf80ZlrDt8SQwnbIjfle1BPg0osLwFiM/ff8tA0bU+W3YH1jgs9yYcjCO\r\n+MJC1clQFACBBzqDW6yAVNR8BQsBLJn83numxI686MdpVXdVx/olE36qTW7u\r\n8Y1DCUoFkihHVWSK0cWtt4IP32TUmXhLZx2kEfKbTjiw1aUGcuZIFSYxNd4q\r\nsEfPqDYexTYJ29B9DqpQ49eRPOX9FYfSrU+85v9WUAWU7sCnuwvLdoCyqvmT\r\n4LfNl5Z6FUXGVty6Y9H9iY+AzaOFQt2jANgnJvmCZoybiMQbrTt5oxF3ex5T\r\nWnZMOlwTFCI99lm+6SkAZ/4sQ0scizlp4K7aUlAllPgTBXHsVjOej12/0doD\r\nCTNWzGwXqN7OiDBVVHN9+23GhMUT0Y6xQO4=\r\n=fU/r\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caldwell","email":"david+npm@porkrind.org"},"directories":{},"maintainers":[{"name":"caldwell","email":"david+npm@porkrind.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsml_1.1.4_1677037513682_0.14645740432383292"},"_hasShrinkwrap":false},"1.1.5":{"name":"@caldwell/jsml","version":"1.1.5","description":"a compact representation of HTML using Javascript arrays and objects.","main":"jsml.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","release":"rm -rf release && git clone . ./release && cd release && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/caldwell/jsml.git"},"author":{"name":"David Caldwell"},"contributors":[{"name":"Jim Radford"}],"license":"MPL-2.0","bugs":{"url":"https://github.com/caldwell/jsml/issues"},"homepage":"https://github.com/caldwell/jsml#readme","gitHead":"6d5cd0d584d802c8df43050100eb689e561c09d3","_id":"@caldwell/jsml@1.1.5","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-eYDT+8vwJhUTwaklo8QjqDqt1ImcpQDs+hLkGtOF/78RYj3/3WCBDz3vpUG0FZ/Jq6AMWG6xQ+6JiNRora4U/Q==","shasum":"7e7a196a838519e0a20f6a404e41565019cb311b","tarball":"https://registry.npmjs.org/@caldwell/jsml/-/jsml-1.1.5.tgz","fileCount":11,"unpackedSize":139988,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvfnFANlVgw84ZMeeIZ3IGLq89lMIDEeKsz2FoHITucwIhAPNgmEEjl5DmB3VWsh/JPB0PWYgOVehh0PajSPAetMza"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkADpvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqgFw/9H6oIOWSynNCrJF17exrCtItrE21bIfCEYCq0ZLNkETkn5/PQ\r\nQReWz0FEqW/as+IXokaCGgCAKtpd0WSdo7sdUA0/ThsibvBlUMRFva4kI9yR\r\n3TkgUThNHGzz8ciX4thc//27Z7XCS8+YTgtLJcaMgAHv87TifIBR/isyjYvR\r\nyZChHT/3MOev2ul1AH49rRhg7gs/bo4M3xYBFKDOKXol5ZYevN6E2Rr20Ved\r\njfoHPbUOtVFcdFXLZoMHkZzn/ipv1xwGUk/GXHItgdx2VHmltPXS/S5pEukf\r\nbPNxN/RyGp4/X5yDjD3/VLC8yGq6Mpkj2IGIboiB7afpf9B4pLSU36Ku28zc\r\n4V0LlrDM2dz2c3unqWPo62HwLhEFNuEAeg0Sh39t7OU4fm2sHwZk1lBGS1d+\r\nh9A1SVZ3kIy7AX7hBPVasa7FYzvTF60sWISULZ81y0fxbxmW+MTgOUAXnF+3\r\no6h2EpQiWKybV3IfTPKQK3cav6PHcHx9xLJAr2R9uTmieEL5O3M/elDx6bbh\r\ncRbe9Qc6suue6xXq6cZK3t6UO+yUF36qs5roxeBQS2kKqurab2UZr8+t2eoI\r\nXaiAfz1q/9DxeWYbTFXJwhtO3HACPDc4OIQ1q/mDkRZLzHhCQ04LYMZihVqV\r\nGA/8cbKFMluBRkkMF/yTJwD8fgpBUnuk9cQ=\r\n=oP7m\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caldwell","email":"david+npm@porkrind.org"},"directories":{},"maintainers":[{"name":"caldwell","email":"david+npm@porkrind.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsml_1.1.5_1677736559644_0.9886753458561282"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-24T10:39:04.424Z","1.1.0":"2020-10-24T10:39:04.715Z","modified":"2023-03-02T05:56:00.034Z","1.1.1":"2020-10-24T10:54:40.654Z","1.1.2":"2023-02-19T08:37:07.806Z","1.1.3":"2023-02-21T09:03:58.028Z","1.1.4":"2023-02-22T03:45:13.807Z","1.1.5":"2023-03-02T05:55:59.812Z"},"maintainers":[{"name":"caldwell","email":"david+npm@porkrind.org"}],"description":"a compact representation of HTML using Javascript arrays and objects.","homepage":"https://github.com/caldwell/jsml#readme","repository":{"type":"git","url":"git+https://github.com/caldwell/jsml.git"},"contributors":[{"name":"Jim Radford"}],"author":{"name":"David Caldwell"},"bugs":{"url":"https://github.com/caldwell/jsml/issues"},"license":"MPL-2.0","readme":"JSML\n====\n\nWhat is JSML?\n-------------\nJSML is a compact representation of HTML using Javascript arrays and\nobjects.  JSML is also a small jQuery plug-in that allows you to construct\nDOM elements from these structured Javascript objects. Here's a quick\nexample:\n\n  $(\"#my-element\").jsml([\"a\", { href: \"http://example.com\" }, \"This is a <link>\" ])\n\nThat finds the div identified by \"my-element\" and replaces its contents with:\n\n  <a href=\"http://example.com\">This is a &lt;link&gt;</a>\n\n...except that there's never an actual HTML string created. JSML uses\n'document.createElement()', 'document.createTextNode()' and\n'document.appendChild()' to build up the DOM representation directly which\nmeans that you never have to worry about quoting HTML entities which helps\nprevent XSS\n(https://secure.wikimedia.org/wikipedia/en/wiki/Cross_site_scripting[cross\nsite scripting]) attacks by being secure by default.\n\nHere's a slightly more complicated example:\n\n  $(\"#my-element\").jsml([\"ul\",\n                         [\"li\", { style: { backgroundColor: \"red\" } }, \"First item\"],\n                         [\"li\",\n                          [\"img\", { src: \"myimage.png\", title: \"A title\"},\n                                  { alt: \"Some Alt-text\" }], \"Second item\"],\n                         $(\"<li>raw html item</li>\")])\n\nAdditional things to notice:\n\n  * The basic idea is that new arrays signal new elements. The first item in\n    an array defines what type of element. The rest of the items in an array\n    are either attributes or child elements.\n\n  * Objects (enclosed in \"'{}'\") let you define an element's attributes. You\n    can have multiple objects in the array--they simply accumulate. If you\n    have duplicate keys in the objects then the last one in the array wins.\n\n  * As a special case you can drill down into the style with a nested object\n    (though it's not necessarily the best thing to do).\n\n  * Style and attribute names are the standard Javascript equivalents\n    (\"border-top\" is \"borderTop\", \"class\" is \"className\").\n\n  * You can use jQuery to drop in unquoted HTML strings if you absolutely\n    need to.\n\nAdvanced Usage\n--------------\nJSML has special support for 'map' functions (Underscore's is shown here):\n\n  $(\"#my-element\").jsml([\"ul\", _.map([1,2,3], function(num) { return [\"li\", \"Item \"+num] })]);\n\nIf you're paying attention you'll notice that the structure passed to the\n'jsml()' function looks like this:\n\n  [\"ul\", [[\"li\", \"Item 1\"],\n          [\"li\", \"Item 2\"],\n          [\"li\", \"Item 3\"]]]\n\n...which has extra array around the list items unlike the standard\nsyntax:\n\n  [\"ul\", [\"li\", \"Item 1\"],\n         [\"li\", \"Item 2\"],\n         [\"li\", \"Item 3\"]]\n\nJSML automatically flattens this extra level of arrays to make using 'map()'\nconvenient. This is also useful for passing in an array of uniform items in\na JSML structure (which means there's usually no need to use 'concat()').\n\n  var a = [];\n  a.push([\"li\", \"Item 1\"],\n         [\"li\", \"Item 2\"]);\n  $(\"#my-element\").jsml([\"ul\", a]);\n\nYou can also pass DOM element objects and jQuery objects and those will\nbe appended:\n\n  var li = document.createElement(\"li\");\n  li.appendChild(document.createTextNode(\"Standard DOM element\"));\n  $(\"#my-element\").jsml([\"ul\", li, $(\"<li>jQuery element</li>\")]);\n\nIf you wish to create detached DOM elements you can call either\n'$.fn.jsml.make()' which returns a jQuery wrapped object, or,\n'$.fn.jsml.dom()' which returns a standard DOM element object.\n\nHow Should I Pronounce This?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nThere are 3 ways to pronounce it, depending on what you think of the\nproject. If you think it's cool you can call it \"Jay-Smile\", since its\ncompact representation and XSS resistance makes you happy. If you are\nneutral, you can just call it \"Jay Ess Emm Ell\". If you hate it, feel free\nto call it \"Jay-Smell\" (and make sure to really sneer when you say it).\n\nAuthor, Copyright, and License\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nCopyright © 2009-2012 by David Caldwell <david@porkrind.org>\n                      and Jim Radford <radford@blackbean.org>\n\nThe JSML source code is licensed under the Mozilla Public License. It is\navailable here: http://mozilla.org/MPL/2.0/\n","readmeFilename":"README.asciidoc"}