{"_id":"wscode","_rev":"70-22ed801a93c8e99c3dde53a3c1880b97","name":"wscode","dist-tags":{"latest":"2.1.2","alpha":"2.0.1-alpha.0","beta":"1.9.0-beta"},"versions":{"0.0.0":{"name":"wscode","version":"0.0.0","description":"An Editor Used on the Browser Side!","keywords":["code","web studio code","es"],"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"author":{"name":"心叶"},"email":"yelloxing@gmail.com","license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"gitHead":"29efb96e12642ebb8f2b9cbb5be35061757cf535","homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","_id":"wscode@0.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"dist":{"integrity":"sha512-j2a8uuYvE5fJqn33Qc+P6uhICq2QTCSUejNQIxGICpU4SRG+WLAkwnC8IvopuRhjMjGYKvrH4VCkn+kWvmClXg==","shasum":"40ed4a10bb957e80062b2ddbf91755e60dea0d0b","tarball":"https://registry.npmjs.org/wscode/-/wscode-0.0.0.tgz","fileCount":5,"unpackedSize":41186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNI6mCRA9TVsSAnZWagAAaocQAIfToyMwhIPrVv1AooH/\nor0cjPfa3/jtZH4i6QLNHCZt9M4Bzmu6VFxvpib76GvMf4tdVW5UYPRJmPSd\nhXn7nJ4BE6Rb+QYF5MdlTmL2FGBPQ+YtSxZFNMjdwLzXIxmGGwMSYR+6YVgu\noNnj7m2UDO3ultlqAye9rPI0DfcO1dCsVtI4G7/tOiNcP6cbJaoJptHE5L7D\n4qAfTG3vFUaEvcwRblhIXeuqw0keZXuMmGBMAOvzRBlMP+D5pn8NgBQtpaQ3\nGmvCcG19UBAYuvwjCnkDi1v1/1aP98d+AcciavX5+owkFjrmsLlv0IQW6xd7\nwOUxtdjJqZRx8/vTHsgKa7xmyjqeGf5dg6366ru5GJvkWtwPg7x8LhN0gBDL\ngAvw9SWZe8Rfe2gSOOeVEBfJCXQAtRbWyJADaJL2VKSm8Y+HHoPOgl/FxBLH\nqZ8BQJ5N7F4XJ1J6GOkSdQwoZCx/eiT0FBzMHv2zBJSnSnwjvNlD58/u0rMO\ndC248u373awBm+PQhQY9H1eM68EnxMZEUkqN/FGVULYO2TjRbSJH7M6yAEbv\nQdDh+pwhgTT2Fgos5B+gW+DJx7lvsJANBFzhSlO7YGNAtXJR1jhnc1k+VsTC\nBopgZxtPs5EDv1i1HI8keYOySC9McJ19k/4lJfo0A3+Sw10qVP0kED8ndqI3\nH7RK\r\n=yWZ3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEtwiETi1BEsoRdb4mQgI9zA1+ioSSHB8vGZ4pQXo92wAiEAw3cnJFKJJpVK11s+FDKesJhIcQBn/pkPAW5zhJaQO9I="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_0.0.0_1546948262094_0.06987632180465231"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"0.1.0-alpha":{"name":"wscode","version":"0.1.0-alpha","description":"💪 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","image2d":"^1.6.8","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"09a0096268f330952bfe12ee19ca9fa60708c7ca","_id":"wscode@0.1.0-alpha","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-SSXk1Dv+O5ZzqjYmNDdWrCWU791BnrchhREZK3lAANBO3GlrF3WMnk9NqqI0amkr2Oxh2dkY5mNb63brvxbK1w==","shasum":"c844e1afe6dfda0fbe3b3149c8d0c2f5a5b4e2c7","tarball":"https://registry.npmjs.org/wscode/-/wscode-0.1.0-alpha.tgz","fileCount":21,"unpackedSize":113624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJettgSCRA9TVsSAnZWagAAASYP/j65m5RoOc7ed48xf+Y7\nMTAwepL5t1IWFhp5x4NIMN+YAc1WecbYH3pZRgum0wZKnsi8K0Wt++WznBzL\na0mNa7UUzuUqdvMboYUirCYbojmgw0Tn1lxnIbNo80AjAdggcLBUBaTO20Wu\nHUoR6ZLufuTvBqaWZioToi5K/kI6LKb+E3M4m2czL3l1Cg1wWSQafzgxYUMS\n2HBtQDXf4cnqsz3zQocoodaK8/AS1b29fH8+WwtXo6IHPlwjyBtbSlpr/OVt\nD40Saw8tD+pm2trVaq8HQCfZnXkEGKfTG2Adw3NKU5FYqbPQyJ1K8rq/eIAz\nbk1ZcLphJyHvM27bCD4Oi2QLz8C6TTXqXWnU8Gf7+yV/B4AhYhHiC+oZlNCy\nUMSNSVU4vB3FsDt+F3TnwRFw0+1A4xMVsbj+Mn6XrPEyg63Pd4sl9Pm+Xl+w\neZGLSWbQGgRxUwcIdBhmQeB3wc8LjvTC73QReMtZBop3Q0IIHLLQBOsjc+zT\nnE2iarjK9V5UcOF9+JKS+wB6hjz2cC5wHGHVY7WOwv8GWJc0MATh03Hg5p22\nA14aOwqqInVu0lRCkGLsDXzxLuUf9J+tXTN6/YlJZuD7rGm05nhXoKaZdiLr\nA+ZZe2RFTPH6tXBN8tqKiV2f18fGI65tWsu/hGqrOGilZXWR1sRdbIC4oKnD\nKAh7\r\n=cnup\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU1MiYqLV8JdEqXPi0xVrkpTG1HhNXahKo70o+7aOHmAIgRk/q3P5RKzP9AM5SUTtyL/ag5SQix+WoUizZ83EY+KA="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_0.1.0-alpha_1589041170156_0.29037374908837577"},"_hasShrinkwrap":false},"0.1.1-alpha":{"name":"wscode","version":"0.1.1-alpha","description":"💪 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","image2d":"^1.6.8","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"ef221382af28cb6f9b641c6316f2a9179a4091ab","_id":"wscode@0.1.1-alpha","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-77LhiE4shxjrmc5gV0RJ4z7bDQF/vMpzLD16AWJbKngOLyJYJkEw4vDZzspNg78+jAHwdjgyEWbEW1YzeEwMYQ==","shasum":"318286a1db0a751c0cc51db4f6db1e72db55c020","tarball":"https://registry.npmjs.org/wscode/-/wscode-0.1.1-alpha.tgz","fileCount":21,"unpackedSize":129596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuBj9CRA9TVsSAnZWagAA8+8P/jph7XPgVcHN403G8CY5\ncO6A1P0W/fIKqGJLTMt/XetHtddlsGbzf4fcfu84gOzwR48Z0bEnhuJta6P+\n0eHwYVvVEBOIqKDarpd7jZrt7swxDpxuBYn/JP6GajnWAln5u2s3NF7QWfxT\nwMYfhN9A2cw9aro1G6ymZ1JuFa07bLLIFm0ISaNjXEq+zri3Dix8A2elKQcO\nw13x9yMczAF7NBZd8NeSviNyPBF1B9Xem31Pln4sgJa5u0vV4P9YTC55aqgI\npVXHiPtAR5F79D9zYJiZF1HDXjtL4B6OBz0XS9WNIzElsJOmuSZtTII3INW5\nQm6IaI5RP9dUhX6aM7//l0C7Xp5/0Lx7lOuAxLGRqUyWnzI29SSdhNgJel6z\nfvjyU7KGNawuH8LrdFxKgYOftoCTc3duZVDW4slC4bm6dLLtgSgerEFzLyPh\nXIQJqsiAHGceUNFxk8W3SPG4NHUy5v6VrnTYRhoSWpyY1Lk9m1swC2S4g8PP\nFDsq+Z7sfQCR1e8oPfAoKcy2dDOt2C/UH7a/CQnVPk8QbG5T0TevVmRn7Qk9\n/bGMsBvIdg6+OuOZUkbP36PBKA0yvTKkJh+4t/stnIfcECJUb54FTDrQQj5c\nw/9uOemYFJUmd0+it+H0bP37LYidcIlXec0kkxj2C6F7gi1wOovE0juBlLIm\nwWzf\r\n=hqan\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrG0c9/kyQEnY8a44Xv7j6Qvc3lJFO3uqwvaKxnuPN1AIhAKv2pXdoRFAcgHikKN5NnTVAFD1j5Nmn/mC3/mVgBK15"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_0.1.1-alpha_1589123324856_0.523433418186465"},"_hasShrinkwrap":false},"0.1.2-alpha":{"name":"wscode","version":"0.1.2-alpha","description":"💪 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","image2d":"^1.6.8","rollup":"^1.17.0","uglify-js":"^3.5.6"},"readme":"# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n    // 编辑器挂载点\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"字符串\",\r\n\r\n    // 文档解析模式（可选，默认普通文本）\r\n    lang: 'css|html|js',\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        normal : \"#000\", /*普通文本颜色*/\r\n        key : \"red\", /*关键字颜色*/\r\n        note : \"#8BC34A\", /*注释颜色*/\r\n        variable: \"#0a6893\" /*变量颜色*/\r\n    }\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n```js\r\n// 格式化代码\r\nwscode.format();\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"dd93c2c004e9f4c435988cf93875e1f001c46b5c","_id":"wscode@0.1.2-alpha","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-BmiyLVpKYPjdLhVNAqPoZMjFuDV+Nk0X3EYQGYlelqfYVzvH4Q2xKxPC82jtsNXIMm5nge/3tnTUjKn43xBUZg==","shasum":"1599670714a4b3019c07313bf45db725afd0d832","tarball":"https://registry.npmjs.org/wscode/-/wscode-0.1.2-alpha.tgz","fileCount":21,"unpackedSize":129596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuB5ICRA9TVsSAnZWagAA3twQAI29Q8GhGgXsN25dAFV8\ntj5le7JtGfoms2HSoSup3O40wtp36DF2FNf0NzV5BZbmQA4rdaA5vAMx2Lqu\n4r/H7ppvTagQLYdyvhp5ixCgunbkX1qQ/aG/qHlBcEHcGd1nx2aMttJEdliZ\nQ5CRrQhmTGoaUp5AQz2PWnD3mFphUM7I46tgmFrexvShpjwJE5IdEUgfZS56\n7pJE8s5CoL2T+h64/CMirroxGCLGnBDtwym0jZtD18oAyvASK7oh7pFGLxQx\np/ZxEEbWe7K2Yip9MqgkOxpve6nDhBXAXeW6R2HkCN/v+ooe+WvAyxmZomhX\n+IiV/WYs9oqrqlLD69ouTqDBtTJpnCIjkjFmD9rtLWJ/sJZoo8nxKslufh29\nUDsQOVjuq+12wDrAr/zAXVWjbQujNrYfwiH1AztPc6bxwji69zlMiCJCHuWP\ntMUtiPbOih1obSDRp7g7yc2JEaQBYuMov2SjTFaW1jivjP4bN026abu2+Syr\n4sVfa/MWUKxIP8roZeOQeKwgx5evqyLQDXfwrSwfbj2N0yC071Zo2Oicrn1w\nZRMoiF3K05IzD0jle8HYMBsu5y4FBktwqk2wj18eCuQb18MsFl9IE2+FzIAE\nqZcwoCS/pv97RuWS6ubOSb0aT5MeMNUFCeh8382W4iOag331bb92nUxajlrN\ncqlS\r\n=bWB3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYt2ilVG4whyw2jW1qmNE+STQZn9qc1yjr5ZH3Mpk7fAiEA1edre5wvljxwxqZv2VOqBFt9bIEK5HxXTZ2RXtmEaak="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_0.1.2-alpha_1589124680385_0.057308218410532685"},"_hasShrinkwrap":false},"1.0.1":{"name":"wscode","version":"1.0.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","image2d":"^1.6.8","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"dd93c2c004e9f4c435988cf93875e1f001c46b5c","_id":"wscode@1.0.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-tXeWH+cxTv+8ZWw67EZOQfsGrJA9NBdoyS7xhAyd6GG8MhIQAF7TUeYyChZkJVqibVWOkamZGh6FCE9nrik6+w==","shasum":"61606170e969b577a12e44b4c55eb3445eece46d","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.0.1.tgz","fileCount":21,"unpackedSize":131372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuCp2CRA9TVsSAnZWagAAO7oP/1CiMVu2v9hnMHgbYR8U\ntmhT0i3T47UonIDiAGStL/POWXElXHCpmZLfmlQZ3Lrz94/0RQFxnUCzJ5FD\n+IJ5DErDUvf51AIndTJgOp6LndEWM4Q/qTaDHFfOHdILEtUG1oTqMykTFqaO\n85WfoVGzKHQm2ui+kUr4jfiXxKyhd3Js7iKxHoDo9w0tAQmDSsbvZvIECeqp\nWEfVsioiv8UYI4omCuEnHc8qc4Hzqq+/CfM6sW/iFACXgPr0sNw3WYsBYmPT\nD6tdUQrGl7u9hTeZ3dLh/kLMUKzxVa5ZmZfA25BTvTzp5B7ZFQifGj5MM/64\ntIVEAqvUuvDPfhW9fAakXvoH31IZN44yCYp4RqIzeYsC8Kp1BgGTgVtlwBJH\nmgoiQLe/vdybeyqqW7zs5utLk//1fAvQkzDPUxVPly0CeilzXUnJHMP0xt31\nBhthFFTUU8ptiZvdRJe4VP5ftZ5Hj3fs0m5IsybrhHzh6yyJHAUXyiMFLTzp\nxpu0+Yaf0vpS2HSEMynuBDBoFt7vAGPsMJAu+tfqqcZOl2FcusDzwFemp1hZ\n7rnOvh5rBO8iDU1hUVPEM2jXeH+QbwK+qMnjsuPuKeavYR9oPdYWAO1Fnq3Z\nsevM5Hn1/b5SAgrm5e+iFYjPYnBGmUIKq6M0FH/D6oKZm/95kkKDFHWTyKye\nFgvt\r\n=7Do5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvvK0kUXqeWRWm3P4NqW7TNX7IIkPhf9TJm9Pjkr2zyAiEArVj38nqeaJdMScx5zDV7+jD4nSTUNlA2NY4heTL1MWY="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.0.1_1589127797741_0.30439662566885417"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.0.2":{"name":"wscode","version":"1.0.2","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","image2d":"^1.6.8","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"38b986ae21a8e8c8b12fbf1a4000e448c6789201","_id":"wscode@1.0.2","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-gdLidXSiQ0krbQr4yHdyP2eigmZzq+HipcQ1PHwTRV1DBn8oFcc8oqP3QnQkEzs/1UpZUU0XuT5aMlsF+ijXxA==","shasum":"7f9353ded859b45aab7b2601db69543dddf4bac7","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.0.2.tgz","fileCount":21,"unpackedSize":132091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuC1sCRA9TVsSAnZWagAAHg0P/0NtidZs5eCUNtPA6nbf\n04jkE9IUh6Aq6o2P0DTXrFPH9o17wJoZaehhV1YyYH20M2FAcRo3/y37ZyCH\nLOs4CP92DVes0FPf3mbfvorAeRzAuajE8TZ+wdv7ywetna7CT7QWTn+Om8Cc\n+ixLsaRZVb5O2j7AghR1fRQ1SyKf+Ij2AZCSZtSYwzXG273CbMZLPA4hL6uV\n3TAPYx9CwwpNDuQGjxyQF2QwBKnGH+0EQ14Qk/nOTcb7FxFw2J/GwTLyimo8\nKuUbZAVWEjjmsZFZDBk2pD/bioSJdNyKPjEOTYOIB6NNVldJoH50Az9Yq5Qc\n9QdKnfFjpi32bazxNmfD/i6untO8WGWLHldls2vXH0I+0MJmPidlaiWQGRhn\nB/avSQh3lFkDgMVRYcITRwdW5j4YnOxTzMZrBZ04I0gP41ZFDK4nYol+22rG\nT5crcqcCTv7hJ+latto4+mzIE9vARgSIqXJrO12zjCCRC12LKaU1qmxmB7va\nv3Lb835aCK9Pvy3si3zuJkGVdxzP3osqb9xZcupyuOa0+70sxiiImxbxqBm0\n4Qk3On4SnaInrnQqM931ydI7HOgDSSQ2n7xBA+TQEdBtDlj2bcY1XoXMbnVo\nXbumFv8JN6TGRtiqZtt1c51jKMyoUrbhTpvMxVRo5aLSfYN4lh7ehrqmC6n7\nvVWx\r\n=Mzdo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5A+Qfd1Gp9h58l0zE40ZrtiZmcUJymb/wGrCJsAQJEAiEA11aMsq97PMnbJ5XilY5HorzK8JIPibz7ftv0nHYEIz4="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.0.2_1589128556025_0.25676210263658183"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.0.4":{"name":"wscode","version":"1.0.4","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","image2d":"^1.6.8","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"5e357611f1230e22ae96f5ba32e030dfec680b92","_id":"wscode@1.0.4","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-hJQmkKJYhsH4ufM53vWZTKaTTSLQvNLAI3P0zUuTcZjvbHvfM30VrBNhD6Bp3Om1QulF/t0CUuI8DqXeIb7cKA==","shasum":"d7a6dfb563c4a80ec14cc38a41e19bf5688c2274","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.0.4.tgz","fileCount":21,"unpackedSize":132399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuKvpCRA9TVsSAnZWagAAXsMQAIaKlsPxU+l4sOGMQ3Zu\nveo93oxyShu3beA4y2uU9HQ9Vtbl/AeBzlyvcFWPSnyZ2sTmVbwbxko2Ik64\nyKlWcSo8sTOgP4VfCQrkCfmCm6kp60WqCuNRKl4osDY4QbftvpACTSnJNV1J\nt1v6K9iAKqfsTKIJ1h0pUmdjSka1BVjrh8d/hky96Fq3l05E7AO6eP2c4mqq\nq+4jKbw4pcYiUmHBNLw3GrwIgzI3o9z5IDnG8+MXARFri9Wgy7tt6SxywXJU\nnTAfobH+EXUQkoi5y0WuP+p2/MoPR7SVPpDVYzSlhDdWa00P9fcH84CyNOTi\nzCcLwaMT6g0GBwyq/ZiStszwkSOjkbJ31j0+FaEYnL4vPpSG2RRIY34v6MhW\nJ8aQltVrG34oXSRkINNap8AaaHlb7L0vqCduakVt5ISph09VMxUl3gK/ASrn\nUMxnbpRsbaq5umD87nV8vr8XlNy0jVN87H7Z++NJd8aPsTUf6RksQgBY5bkH\noXKy6qhDK9vL0U8GHWNl+pM60ATlXJeSAIW2Heq+raIiz+LNXCKHN9vejBDq\nyOACgzzyeqihRn/r09HLDDMb5IbCpIF8TF8hIAqOLQhTvNbSY4gHMTwUwYlk\npr7idAksejo7d+T4gVHLvmyQ9+wG0zi/7ikJHrUhypMlTTIw9LpbVFtt/rle\n9PSB\r\n=m+Jt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNpTuw/DHBUn9iIVZfM7QCnnM8RES2DGfonIalmYgIhwIhAPq/DJnXxVRcWN2Hng0fwt2Cxv8Q0zS8K0+gMQ4CcJoT"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.0.4_1589160936792_0.6773834956509301"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.0.5":{"name":"wscode","version":"1.0.5","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","image2d":"^1.6.8","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"2a325d8578db420d4a4d7892439499738de2a060","_id":"wscode@1.0.5","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-2MEYUUO4SU/591Lp/o2sDJtMSWoNql5K/1/iDPqfT5GhrCjqMv6lLWFvc6mjF9ih/kF/ClVE2iUTWoBIyb17XQ==","shasum":"458be1227a6b82cf0c16369a35cbc0c8d6a8c2de","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.0.5.tgz","fileCount":21,"unpackedSize":132764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuLkQCRA9TVsSAnZWagAAZ48P/1x7PmxLqVKqL+uSxBuV\nn36FWDTO63YDRWF4dJLG7WuZlNXP83ixWASeCP9NkcA/JaS59BwqRxWwsSxv\nJokA24rdV60+4aZwBlCrIiT+dY2+NicX0DycdS8+nb1wlqJqrxyhpZaJdSwV\nWTrHfN4btx6aD1fPPqYMOMwWgHZzMVBoOZ82d9GNLsiTwjzzVsNZKinvFv2I\nadZ/ojqJ2wHoTZFFM14pnZotabNJpYjXOYa0JYe4tncfTZo8dt3OnYvgFKRw\nlfjpOvY75w8THpFx/BQ0ZCNnjOLK3A6WysQ6E3zxm1bZIsVVPxuA+aoMrnlD\nia/RbnkmYwG27kjoQDOHeDWVhKyXNabgnaigblNryfqo4msiMUkwqUpvrU8f\nrviCQgP185srriJOUJtburOY1zBNmhyYWbzYUn7E00R2B68zux+CSSTMFLUS\n98D14UrF1TGhHLGXgzRlutMCWkKQpWJjjVnzVXHbeLY3yoHGuWdn1qqbalJW\n0A0X5K/GKbDwscrAyqMhNRSyA04FhPDstrTD9GSO0TEOkxDRCv+sFa6KVTVR\n335RI+z9OvJ0jbjVLyODbu2B7cYKLOqNHU3/5yWRWAWlZmZUqJ75NrcKu6vb\nd3Ki1H09AH404X/feT2SJ75P2EWZRQADy38u77UcSbX4cKFGVotH2LRI5lx9\nZuGP\r\n=ejWk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBopfScImnMNYop7rGwkxQ6kFLtwIyqjXqBA1SXRo6mrAiAjppGFRDhsnmBEIgJnVuqMzwIBoLrxDi6LwJETltSBfQ=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.0.5_1589164303539_0.16358787753366388"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.0.6":{"name":"wscode","version":"1.0.6","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","image2d":"^1.6.8","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"5cf1adb38502f57cb3c67a18562fefcf146d0bec","_id":"wscode@1.0.6","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-CJ/8XAJQwhl7Xh0C1KXNNn8upgMVJ8f2bQAHZnjqFpOgkBIkI5aeStmZ3XZPwRWDiT64NnjF52+hUdWb5gblZA==","shasum":"6757669991155059fc55be5c08d2a195248e4d93","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.0.6.tgz","fileCount":21,"unpackedSize":137779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuPTZCRA9TVsSAnZWagAAKKAQAJgbOR4EAooAMevx3cE/\n1sF8+TM2w7LdavyE3SvPVkSs/XZepakUXXJzMfnQBCiCQ9+/5DSM4hkBth/J\nT2Ghhg4a4ScoX9HzWN+mLdswzGDCNEgmN6Eux2mbDM1c1d2xUafhbvlOv7MP\n78dZsQTtg0pH4YYmLXx/n4E8ajO9B3rdQuS3e8LbAln9mmjeaFN+egaSv+E1\nMUALeQ8KzdXQn6gBlC9eeamvsP3YOXO9OhjILBHOmV2JdnnYk79ruR7xPZER\nFFKvpkIhQ/LONNUZ3W02AEqPEnsu2+hOsrBurO5/fwUULEMCI5bjSuimeH4U\nF1KXGIrOOMtJ8EtvFFe2sOhAaRrXShLx0/eCp2qhAffjBfkyZX5KaxTp1xga\nUGAxDcVHV1MiOlAZ4in6UyG5I+xCfnRts0wus8DSJ8kN6t0xPRRALgtgOgeH\n88zrXRK4KZ8Mw+GoGseoSqRK7bsZBySA7jJHg9lOklIHSdG8qvH0nsDS0DE6\nE9NmODhTc6nvPQgUqsGEslRr6Lgj+Bp0P/+29MoZY8KC29tD80GVgNo9o/rL\npTxnhCqADxSjYcLXLLUXMq25EkNJ2ZKNbs4TrBAPKcfONzFjcZu/oVVSjc3q\n+m3d3Ay/AsF7151OUXN/0oXIsOy4jajnULlZffi+ylo26JsAjD9B6gekn9W2\ntyCv\r\n=rd+Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGr68eIz5njTsXH1P6MwTVMkWhVqxXAhuHJkFYKL9AjyAiEAv2BkapzUW1uhL5j+2ZUq8tS9unaU6f626nXdcuqjjy8="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.0.6_1589179608726_0.9682911340230316"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.2.0":{"name":"wscode","version":"1.2.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"a26cf6224429bda3626981c1cbbdf9b74dfc3b20","_id":"wscode@1.2.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-15PqFF76Mjm4Hv4wlelDaBond2LFpWqdIQjJOL6Rsj1XjudhThN7fbtmJFsy5DDFBiMcd5fcDjqbNjjCHWLxmg==","shasum":"2766a7f0b2453bd5e67c7c422f16db79652236b7","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.2.0.tgz","fileCount":15,"unpackedSize":62618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuW3/CRA9TVsSAnZWagAARgwP/A+PsgGmTHl/0YGKmPvX\ne4ndPW8l4ajSrs6T+FnADFR5GnjKyuun1WqW2qEFMJmbU//CRuDN9FekjAsl\nXRE3w7WR+sWSJKzCeYd8uEa2B0ijbmOPKwJP9rbLjGQylzpzivzto2yyMo1y\nOSG+KrQ6F48WXUHHvGSlqpTSaIzBJqCKeolHaapVBGKZPUNddISTnR1D0cdn\nO4/pcsNtfdvGOZDw1DAQrhF07LqcJwCEA4WtUxjAK/w7bTXD/UsSpjRqJcnV\nT//c1JSbJPDZAVQaHZXdaymsfxR+1yTRCSr0YMdrbUdOwEr84kzSd5t8dbS7\nV7Bn4iswO1s6FgVDKZ4BifXe9347zD6XgigE4X2z/Txo+VU0mTZzYu8d6Kou\nGSvDICb7liU7PxPRUa62FsG4iYiGKp+IT/b2q6UvqWfMPO2R4tYx4+2Grhzh\n5mLEulLjcAypspE8k/BTv9iodSpVLENv1xkdWrTTIoKstMHgwBZOcDLvynv5\n3G7YyfS93/TIYCpc8baxjCGqpN6j7iWH1ya1NajOOFcLB828tZ940tXZaVPA\ncBCrb0cA0TgrKXyPa1UGWGrybz/69SnNdJEY6PmqOCzukZfspNnb5iYYbKuw\nyXRyY75VVvuGoVuZZePUBHao/LoQ6bgQdYSPg6/UcomX3Qo4tnn1FhHunno5\n5S22\r\n=EISK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpwnVkhCwAKliohvR9GQzqDlwsP24ZjcQE/zlI6JEOsAiEA2gxhosSRy6cREB50tshSozRH2wtOFQTHotYZliWUAec="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.2.0_1589210623215_0.06379339451815835"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.2.1":{"name":"wscode","version":"1.2.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"1df3ca3165b27f677ee608d3bace180aeb46cf42","_id":"wscode@1.2.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-CZRLESulMxwc4tWTU4b7dRGpu8+se/M7YR/2NSu8fH8pUPCAGVAMY83EUiLtDJ1nJnWt/83rrI2PgOqhcjGVhQ==","shasum":"37f1a73d42d9da591fc99694dfdf9f3dafed1d95","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.2.1.tgz","fileCount":15,"unpackedSize":62600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeufijCRA9TVsSAnZWagAA6HEP/RDwuOUcCf6iq2fDllR0\nBeMnWQuxAC+b6rn4irBjpDcj7CsaeXHSwaUr51BRliR66/GkBsSSY3btLuzs\nFk9DoAQWrhJ4BPNz1GKmOTCZ2lThOuADN1fkeipNJZSQjdt+u6ikkeOgOK8X\nuQXrTGHJ8oOqkriXI3t52n+KeVbvbSiZncFowniELmLEMVyWODGGhXVQ42qa\nmQbSnQ8uEz7jlRuvAWh3E1LKBemhQoQzffNeZ534V8VLbHjHwBRrKk539+bU\nFEGd7njqp9IHrdfM4opOabrBY0SgEOqPgIk/N7BlE0vMXxXSraQeuwdoT1AM\njUV25r0Q8d8EiHNw7673mlAwAte+xM68/KaBGICBqHOJ18661vfAAK028Vpi\nDKJEGvGt2iPUqbE4XQHv9xi7bUEbCtzzwZ1hALWoEOXihFN67KJ7P/y6/kzY\nWRtuX1I4BDXvxhetP4WsVFwePCmkyBYVF3MXnRQudrHIRbxa1ETwlPwXy+Vj\nafVVMTqfKX0/aJTU49ZI2BBx6B36KB6nPduMBwEejyMaTHKUmaZU4DjBHfmB\nzgNsd8EGY1083N9E37WqtAZWuCNLihodq/ypjs5eqGj90b7bm5uK5+567UOV\nwEuhulsbCBKOHllvApfGW5k0hAz1tnaqkqwdefSZXAn0C5Zj/F2COG9e+NeL\nh1I2\r\n=7OaZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDT0Qtp6+62W2uAsBRBXb1en4zW04Q8foHrvjSNnRqQ9wIfaWBfQjDlGrc/tXNQ0VMpqqmpGDeQ8i3Q7eIq/hm03g=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.2.1_1589246114487_0.4469817686950772"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.3.0":{"name":"wscode","version":"1.3.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"7536f531cdd8b677458579c91c5783cefba75fdf","_id":"wscode@1.3.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-upzMSD/mdoMQmnt0nf+E9LabgC9qhdsBrprYKOAeR8CIhRqfrGz0jw9XioxgHrnBY68fqwBOsjIhsKA4S6Jmgw==","shasum":"fc36210ebe4e990a2fd80e12103a1ee0242807bd","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.3.0.tgz","fileCount":15,"unpackedSize":63341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeul5YCRA9TVsSAnZWagAA8doP/AgFbQ+zJjh6CaHbau6N\nji3uPm0OOe+LnE59ns54q5k2fnSLO8hRZVCgBmfSLtmo5oaar9yJBjqHqzFx\nc/E/sVKCz1P3skW1imq8qIdO5HvJCPJP0jxBytkDGw7yi99QV5hsTJoVgpsY\n84gXx2vg/xHaZhmnNZM/T2Vja/LEsFCqfws0lQGbqT1n8qdfnoSeDoUCZfFX\nKj9+b85tuvj6ArXkucG5ZnqumQ7AGDt0fGbIX2Z0nOmBmo4akiFt1lzs5Nhw\nxB+4nblOW9bFQ6DkJsoUds39Nk+pygLCuBgQM0IcTfhEEhE6QXL8Ko1TQ2LX\nGIZFdKWm5BuCCJtnfngC8TLeSUdiFHY/Vdor90mZPDIGJh/TPQPBywD9E7yq\nEwJoOZH6S5PATExsZNeRXbABO7mAZSuml0yvwtdrnogUW52EwLY+8IR0GhRD\nT13vymui1OyPJqS0IVRoeNDNkacMcescys0MJlv7GZiDcMlaJxYzfFL0Egyi\nVz426nf6xbwmSMSrkwml07ylhys2Htal2CLlJoMwr0m67wDhoSQZdeboMI90\n8LfdkvOjg+Qh7YiZZMWOSZ0vYJkkYuxcCk9++8C1p4b4UeRKzIWrVwrf1EMP\n5BKkTQFE5C82mwzFhtlrcEwSNYcd052UuZpGLz7CYCQgUajGAHWFi3uFuJEq\nCmyC\r\n=Z547\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5FRZ/TUi3r0dZJmiBuCNFK9T956wDX007ndR91aWDmQIhAJU62TcO52Lk4UwS5Qdzn2+fvJzk4DUqw/MU0uPYsIeS"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.3.0_1589272152330_0.03775573623610784"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.3.1":{"name":"wscode","version":"1.3.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"da1438f42b54304040e65a21b8b83031b89ba9c8","_id":"wscode@1.3.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-WTG3uKi2Eq6AkYkD8bXH8BIjXk4sqqLKH5XJxGXLB2wizbrZJJ8tWKs8Do0VmMv6UJ8hJI6/uNZkCBrGXYfNsw==","shasum":"f9ac079afaeff8f51c8fc0b0d64d40b28f2fda02","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.3.1.tgz","fileCount":15,"unpackedSize":63809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeum7yCRA9TVsSAnZWagAAEysP/3LWolWymp0Xcmb5W+86\nUEt6jryB/Uc0i2qT6tNu/YRUsXinsyB/LdY/L/waIJKRT5y+Zwr2hneC6gWJ\nJbLA/MUagGdvX83vM8/DdMFryEkCeSGjNM/8uUNNYZLukf4IFTAM/LYmCbN3\nMuPg/NimY4Nwb/JRxQvCxofwD33r8p1HVzphneF7sBaIgl9rFvATg2+YHhid\nFc34HQMiminS/vE6t0yOuP3FMGje2l23YDd9e206crAD9V2iGOPDSeb/xnvF\nermVUAbxT8mTTuM1Lk8B2oYQJ5JIvmCECYIv37Bl8g52oLRYDuB+DztbcJR4\n0lZWe2r3Ja0uSzyQdxgMRdACacDQJTPK/MzTKXiE2mnqNFIiQ4DBpw3ZH+Hj\nA0z0KSlgDrEDdC3CMAOy8OaYb6sbl7HnwFT/niR6rzFyhMYx2/1wQy4EjE/+\nS3kD7xQ3jmp1ZWxcXjjH3ymdUAq9qNxxXAemeUbxC8S4jH+rTrwakprKcvyw\nrTXP+a8XZwKMxps+EyZ48nHue2zhvjwgPvcpZtkPBE9A7kKuSRKG06tWFgOi\nqXGVnaPm1wN57ZUpsa5W/Vr09OWtuf7rxRns3yYCd/bGzmOVbMmuVF3xjoam\nzd74ah5jWslR+ufMKNyTsZf1/EidicqP1AeLJd15CN0VrcO6Zqts/2Xz3r6M\nCa+/\r\n=m1fS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbx8bnI7uBm8aVUaZGVSbGoTDO/fsJ98A81D+zfF+0JwIgPFwtcSLquLh/DGtjsI2WOkIxA5rCoOreIWpKP8I1B4o="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.3.1_1589276402353_0.8172551609442378"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.3.2":{"name":"wscode","version":"1.3.2","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"dfdece29f62b16ca232fe090506a13c8bfcbef34","_id":"wscode@1.3.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-QzRa1T25GjBiIvOYrvMkbS9OTpPL4zFJlip6cXcv2NyDkQVN6Wo0zlf494bWTEge7j+Thz+ULgBVfG3/gW40cw==","shasum":"9c7765490cd3fe16b5912fe30ca92d7f01cdbdaa","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.3.2.tgz","fileCount":18,"unpackedSize":64937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu1MMCRA9TVsSAnZWagAAAVwQAKNU3S9Yb1dGSo1kkf0h\ngxx7EPCMWvMF8eiVBaftXYsmxu2y2TnnFMUaF3U0mQvc4mfDiaQZq7nFh+MY\n9M+egcY7PuQiRJEl+buinoc72EoJeBno6bZj7Xj5KyD6dM9ajdsZJp7l+tBK\nMgU3DNCV0xDv8LdBeQ6dyWqffyW9WbZZPPs27BbjUropbCzk85Ir7Gu1zSEe\nFUWcmJi6ASJazeCxOI3Vcc+4D7j3r8nTS2MAcWjLdQ0atBLPddV65AAzWSXf\nGGgZ96rH4BUpXJkd2GATfXwL8iiV8QowbIB9XQCeGJ8CQ8Iy0wrHqlK9SbtI\nsrm+ueRf3awAM3hon2y0OdB5jiffHWcL3Oa4ZuZZCiEj/cFSeWezUoJSr0+s\nGBdl3IEVs8cSWU82btIRZr48+Uad2O/rKInOsJmrKcWumhw/PGgiKD4EOs/7\nc/2UmCGGhkc2K44v0oUj9MNHyzG5slqC3sxFdjgExQv48gsx9/OHVBnIfRgd\n8HvuM//bvJO4/nYCQptjTFfsHmbNMVhImNKp88LMqK/wUUfgfT8BDOYhJruV\nRkA/0gVU4tzc7mO3+iuQigGoek9N6aF4gpcKzaC6UVh8nBFQ4NB22LE6HeG1\nHTuW28wTV7dz8pbCzH8gaWKCh+l2PtdbIYJ1QufzSi/6ozSH9f1xrg0M9dgt\nvS3Z\r\n=9zei\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICELAm8cgE8V2KoHCe8qgvpvUNdPmrl+Ovz5I2wp1Dj7AiB6SYJpmdGN1H+ca6JRycDBw7+j72QbsYDwZJeA1rLJsg=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.3.2_1589334796155_0.7069649999851602"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.3.3":{"name":"wscode","version":"1.3.3","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"b020bdd3ef4e9396c5fdcb0b7ba43bee4b272ab5","_id":"wscode@1.3.3","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KTbpdXEvVY06T1i8bPzWbwWvwF1VCb0CLm6IN3B4L0DqrpIwfGsQyopgcGEC78wtzv10a12tOYJ05LUOTUkvmg==","shasum":"510c2c081effb7843f2e988e6e937cd803603d8e","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.3.3.tgz","fileCount":18,"unpackedSize":66615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu7blCRA9TVsSAnZWagAADn8P/3Jh3vr/VrcJDZO23SKY\nfIHy50LKBgwpQyH6SwkAlxUes1i9FN3uWSAnz14MwwHjYcnaFwQnyTbydQKe\nVYuxmCfDIjfQQ/wNd3OU+8QVXjJIRbJM/mSdqfXai+LpsnPiUkvskeaDEFQJ\nB6avO9wzaPoF8NiiUFqvdrVN9X4ey8W1Em7MW/MiQwkwsIIFw/lImScWqaNI\n9v1droMYNzF957IZMiwskQ78da4MXSNt54vsoq0w7kBU0uRM9k5cpaJnsN+l\nyzauR7LkHXxQN7oxY14WKNmA9LQ4dZxjvpll4qCe3viCG5yNd94X7rTEFpUq\n8y4E/E468PnItifVixzXpEiGjpWo3+P73g3byASPtiUq6wkgWD32aws6u4uN\nC5QB1WCfprvqvYD0aDyKKM08RGH3JxI9aSHpEP86Eyioi91tL3/PdDWWWqww\nrx33IB5IOjS046+hSt02yJzqo8sXONGHGRFy9GPsMfNuVdy9oAovL/PCBxnk\nhSe/0dgPP3ZyUpqpdnZYRPeS7FaRhpz5BcvYiMeJvzYatcC5rZLaKNHP7aJT\nhOT4Ve/a6tLvDwEVcV19WKN3lxs83loe5e39jYUy0cYYsFyPU9KXQCOw6XKm\nPFld/jZb0T2KF/khjDdW4mtjZbXIbZNFbARC1WOgUGrdnZ3D6qP51y0TCn8D\ndUzU\r\n=6c+R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGy2/ulPx2RuFXfEAOlJ14Z84B7xFZl1D37URlxWfBz2AiEAzU2jgHPC3lDvhnOxAcnhNKgjlewyb1ojr7pA4kUhwGQ="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.3.3_1589360357482_0.41498052185672885"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.3.4":{"name":"wscode","version":"1.3.4","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"273a0c3a864ec45cd9aec093b9d1faec61b2f740","_id":"wscode@1.3.4","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-AQvzdXbm7ciDBYshwjBKvg3KAcsVnLVahodYRd5UOx4pm5JU5MRlVSHHsfruGtBRH4N1JSoYmFVNokeHGoAOHA==","shasum":"639e5dcf85795a287d0ec211c24ce81ef3a32644","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.3.4.tgz","fileCount":18,"unpackedSize":70228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevLyZCRA9TVsSAnZWagAAvkEP/3in/ODltDYeZD2IdLcP\nRUzX/PU1FGmPypvBOvi8IGwUV+TypSjER1X6xNZQiDKnV9mCkkRjR406nWuN\nisKsQuVvjO/MMBQOv5dCX5yeiHup5Dr0LWP7X+jNGQPSkrxm3mDRa1cODape\nLmBHGQ5UgbkCmvglBjlxkQJzsp2v516HF/FcoXi1sC8aO70BNvCrejZKOHM6\ntvHYomL31p/6TvLKUbE3bXAdeM9OnlKYrYKTJYbhpNxoCKMGJw5leKl2+9IH\nQYy+HPfX3MNEz5b4L9gURMtuWNGbiJCAEytnBF2UsA/1zIYJYZAiiAqbthR4\nBhCdfB9GLq8i3hs1t/I5SPLyUEwq1CC3JxhHLlya4kPI7S0vPkVtT4lflvG5\nXaicgjjv9CHMgD47cMl6l3rrEwMjza6/+BIlGDLhd9UVFLl18ohijIyld80S\n9XqVcuiHdEGtUalK7SYfEbWIxHFJMWChJI+GJbEzpT9mUsUhlcJKpNswCtpC\nnoKUMJQONONDlp2MPj/NtwUwzD+eHTqiArVBHAET2d0zIrgWXRjJDPpZpoIq\nz1FoGjn4zU+b4D/UZd+sxE4szgh3+NvGRBz37J+ovNvrNb04FCZMARYBuE4W\nbXwYv8lnF20rbtL2KEuBaDoeiSUUCphvjGs1fRGbPrKyhPFI0K2SQO2naISw\nAnyy\r\n=dhum\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHsZB1vLvvkok0u+8cJAKPFo1l2k0AVhRjRCXGpOBbkwAiEA+bPC0C4r/hynGeytNviZ1x4uwxvK+Hud/zeUBWBFSgE="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.3.4_1589427352905_0.8858536548700959"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.4.0-alpha":{"name":"wscode","version":"1.4.0-alpha","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"readme":"# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader:function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format:function(textString){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background:\"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number:\"#888484\", /*行号颜色*/\r\n        edit:\"#eaeaf1\", /*编辑行背景色*/\r\n        cursor:\"#ff0000\", /*光标颜色*/\r\n        select:\"#6c6cf155\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace:number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // （特别提醒：shader和format的优先级均高于这里）\r\n    lang:{\r\n\r\n        // 目前支持的语言\r\n        type:'html'|'css'|'javascript',\r\n        color:{\r\n            \r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"a5e3008c430eac43a4046197068d4298e751135d","_id":"wscode@1.4.0-alpha","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ch9RK7jT6PJGbfJxzpZx2Jt0bLkHclJ+3fdTlWFEtdoI8QojKFt09qln8pLL6+G0AfZhKdOC3QHiQKjw5vfhNw==","shasum":"08ace53d5bf0b1855b950d323834bd68ef4e489e","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.4.0-alpha.tgz","fileCount":28,"unpackedSize":96934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJev6zbCRA9TVsSAnZWagAAUL8P/0rNiR9/GGtnVC2P8sK7\nwmgc4+hIH9pTPG4rbAsFT/yImWLr5fWuJWB2sButOwEaX4cycANq/sr5/Dvm\neZXc2HBzCiLiSB+53A32CILbmo/bNfVelkjSeKnMkYd2RrLI7v99YJV/96Cx\ncjhpGC3tc2jBWiCQSVASMgC28eCgDK9+LbbOFSsdvAxwqFg4vs0cm6hOOXLJ\nB/qG6h003YFwI2C4qJR9HkxLhd2bZ26sVNiEa5CjoxlW1RxTAlw+mfb8T81A\n2lBcO2vrq/9m8dDR8tRO44n5vlP+ohjBzEdcp2ZqWYU+i9vCkIi8AvqN2+Wu\neJGKgy31Rul/r4ggOaOmuVR044wiqvj3F1pDFN2YOz8RBIysKKbkurb/ntyn\n9BDm6L5GS7DWeXESay2zkb5PaBxuN6rPMpK10IsOPPspCUJroydaPka2qTg/\nsb3IjplMAH7+iMf+Nr1Ia0lZmH5Bi9FPY7k1W78Il6DGXGICVp+k9yEhHxEe\nFHMs8eL7xAMnrLzUQrFYe13y0DoSg8/rXIPFniac0ZaGrQHM2JiETWzdE2pY\n60rCqqeCYeqV2gm5Pw3Q9Uxc4LHSJrHwazsZ6fMsiU3JdsyU6+SF5DrScmwS\nroAAgB5KjjAYnLIH8AhgxLd3txOiNzsSQ47WIyILSAJaeE2pVbAObCFRz5at\njarP\r\n=a4Ti\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUwSusbwhUSLR9yJ41HwL7l/bXdA82o0bNHSbnAcAebAiBX8jTvQ+ns1jjkEV+/G/1Z/meeg8sa28J6/FsgNXVktQ=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.4.0-alpha_1589619930780_0.43550708086914547"},"_hasShrinkwrap":false},"1.4.2-beta":{"name":"wscode","version":"1.4.2-beta","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"readme":"# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader:function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format:function(textString){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background:\"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number:\"#888484\", /*行号颜色*/\r\n        edit:\"#eaeaf1\", /*编辑行背景色*/\r\n        cursor:\"#ff0000\", /*光标颜色*/\r\n        select:\"#6c6cf155\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace:number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // （特别提醒：shader和format的优先级均高于这里）\r\n    lang:{\r\n\r\n        // 目前支持的语言(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type:'normal',\r\n        color:{\r\n            \r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"055387f3bfa6d471f8e217b510923b8ce810dd5f","_id":"wscode@1.4.2-beta","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-zTVNLJ+JtgRDcZiQ5y3ixVuprypSmVSWyKB47v+KpDnuBTFYLtuklL4tT3M+5DDFxIFW9thMUIlU11d3/cJPnw==","shasum":"adb8314ed57072f5b603903aa3b1dc2b6beab86e","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.4.2-beta.tgz","fileCount":28,"unpackedSize":100038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJev+PWCRA9TVsSAnZWagAAVWQP/jVKbMbbYDAV+piuYU75\nK577iyMdqBn3clggw1qIxR6MclMh1GpLJj7cfKQ5NGjTHdC/mx2emXJ87pm/\n3wl5tjhJdLH23I1PQ42N5lE6eTLJaQwCFm7Un4D2KiBQAaWDzZ7x3c98xZzb\n6C6EvJM5r8VhwsRJQ3UBnw81GRnCwVZp4QkX7XXitZzv6FVmOFDp7zKMvVuO\nDrHtGlOO1BZvk5Zv3BRVxJmX0YIsT4l3mWbmOU5ucavdTGrf4SxhSZm4YFe/\nqirHqgJjVDNBbku0P8RCkuXzqZ40LKl1g9bfS2kxlij5DA6auQSoIwEsL9tk\nLgEaHXWNfjGNpO1PsupM9YLyU7mRCVeUsWqHfevM4/au/oVPhEjt0IZq/6TM\nUm4NNisoIXfeZOZmd1WH4jVay01lW/GArJUIrAZfEiSk2Kp7REY9yw6NBs62\nocQymUchKiHpGNCNhossKOIJ1tejdIGkUUUSGCBYp/qsEQPwCrMBmtTI/tuW\n9J5EkFJbLs7zoMYYCRcr0hWudI/QzhdSNfHUe3qNpDcgDay8my6lhfTWzHou\n38IaZt5L2H5Kxvsi5UpFvss4xIjJnaE+V4E9JLHJgJpwIK4u0zDY3hkVZ2OF\n3k4D4lNxRLUsYKBxoI7qxEzTLeMZsopHfRe5iw/WFa/2JZ+5AzYBjbI5LwS8\nIRXl\r\n=F6qd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQ5TP1poqESbnBkOEHdfjGHMN8amUECvnKhghqIPYSXAiEA5IitRoStwxP+2XfbD9XQaaKeTKKDs5M0OXFQSm8hGAs="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.4.2-beta_1589634005946_0.9419920721432407"},"_hasShrinkwrap":false},"1.4.0":{"name":"wscode","version":"1.4.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"a0bcc71ef91ffa3bc8607217b690c2f7e00ac05c","_id":"wscode@1.4.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-nBQJKG8+LSS5AbE2IA9+mb74VzIgntfWSqaTPYOW4Hho5UyX43KfW8JHTBccVzn/Lx28x+ftrH+NMuLDyajdnA==","shasum":"1348b991492ff326dd34f3a451a6011bf0945da7","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.4.0.tgz","fileCount":28,"unpackedSize":100388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewAu4CRA9TVsSAnZWagAA/rYQAIY+d83IOebQf4NwlfMk\nIjfteZnWtww9WHYv4TWEjoSC71T6dqaHgcz4PkSYvCMWeBSVgIwV9F0rutDc\nxxG7rIIF8wQBeXdXRFB8K+rXS8c1XGhjrsXXqC1L2HsapvS01G1olFn03VEC\niUtveL/7Tw+WwgM96oR4ySfb2j93rD2yMFilSjqgrnH05i2cYsyYy6rV/JX9\n6Ex478i9qQ8JRSIQi/Fn2TkC5wGwd/GPTV+1CD6PYGzq/Rd+V14puvCjZyGY\nEYz7RVeXyWHoSuKvPsGcYFBC65E/2ee0QjcTTdvZgQKc0GzEAwPuGRmtAtnc\nU3+Bl1i5+sl9uHJ4ZsszHafoZHzRtEFdUp2G6bd/2w1f7QeHoog2LB3zXwHn\n0f3JVw08D0uv37eW/fo8W7EXi61Kk5lHDMHHUL9vmh1/CsZ3vNo0UO8fxTqY\n2P1w/Y6vacL0HZpg3C7vBjLw0MU+BMYMjnFYfPF7pe7Xoah5OmMK4YcrNwhd\nGttYwYueKnfmdeW9c+nMZGawRlQjG2GJB5n3mQDubJVVFDpDhrattG/cKA3x\nk0IHBdykzeAmHTSXQS7tLxR7byT8GXhHJy6KC14asAMYYCQQd3FxGRHJU2U+\nBt1NwIWa2y7pCr8DhGgAMU1hitk5jG0S9y6YMbfZWOa1JvRAkNq5ejNSUxO7\nLlJD\r\n=iOvW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLKHqrhv6g+vygHob+7zaFvJgHcVHDKUWIQg53qPWo7AiEA7z+oKSWpR6wbHSgGduq/C0Dea2FnIwZaz61kO28Oms0="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.4.0_1589644215574_0.2968666665026256"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.4.1":{"name":"wscode","version":"1.4.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"bcc736e8b2eef1505594839b0f0537a2005150eb","_id":"wscode@1.4.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Cd7xrKYdZbLEeP9DofVpzdsoGboVi+Rux0BJH7k5P2WjTTHgbUsSVBTNj88K6bxReNsXQJLMay57b7O5vLtvvg==","shasum":"37f70d42515e9c7955cc283329fbdba0998730b7","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.4.1.tgz","fileCount":28,"unpackedSize":116848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewB9QCRA9TVsSAnZWagAAQwsP/RGb+I/zSm5D635Hqcah\n3OgzstDNni2Sf97ook1DgkGyZN2Gr5oIF3tSShQfqSY05kWLEkmnhiap+/t1\nTCTrkIhooG+jH9J9NCXwR3DAzId1VRTX9Ey/bjenqZ0GXqqo+pvHUJ4Ogdmc\nAmXl7FzDaXcM1BafrxaCOGb50QfpavCgDiVRLGARkzGUo2m4DEpYRJebcyL4\nmkylxw3t2nz/4LNvSx5HyFjnzWfOhSDjJUHp8/frhNJNKCoPYWJjBDkBKB3t\nayJZER0x+Nz307G5bmeCPnhZ/Ye8HMWlo3NZb94jJFNwmxPxpAiheOcgsduM\nh8fmXTBH50X7ZWcpOQz3T3JZEH1v5Bc8Tuun+gMsECXstBqMTRdWRKALkRdg\n4FTt94gr+XbT1G7NuB1sxa+RG59zIl2T7d8cFXR0E04rwb/onKIVBDi5H35b\nEdJEeyj1vu0790wDlFgLrcPxUMuBOH1SVxZcXnIp8KAbpzSTpxVjVmIAc55s\nRBHk+lCOB5IB0UdIZ55Jxvn7nXyMz1Z1exu42ZtQjxsNaTByvB4OyZGNID8m\noQeIRdhv0N4C7k/Lrjdknmnt0747gXaY1Mi9TWFn2NinS+gH2q2M6ho5/efD\nAyBE2s261e8Ap8z1D3fZ5MxOSYW9lPp9ab7evkXRtoaXR0i868VU84PwCDWU\naiiz\r\n=r1Ie\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqC5K23meW9AlPQ0/ZlU7cYF6e/mtV0vHW78+ieXUcyAiAF1zlJ+3UUXuZaqhqvF6uqOTOt6JFmhoQY3vDWy68CZg=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.4.1_1589649232132_0.786476491789478"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.4.2":{"name":"wscode","version":"1.4.2","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"5eeb87a89fbf98133a6c04f62ac1211d2b8f570f","_id":"wscode@1.4.2","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-hOHt4CrroEKeBhdx69mP08dmqwttQP0D+vi6mzoX9tQ+NFrgHDcir21TtUqCo9CWrMTqwhNZd8K58GtV+UPRhA==","shasum":"3cc07bbead2c2c4131a036166e7710ee023fdc51","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.4.2.tgz","fileCount":29,"unpackedSize":200782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewU0ACRA9TVsSAnZWagAAZZsP/AzBnmUhVG3LwvLEtE89\nRuCvWoIOmTJFJo8sfFtKqdclx28UV/2qDxjtRzgoUsl81G2tmLVaHKu6N9np\nyQ/1t7ax2NMC6TD/SppXM7fJk72cB0les8mh+JW4glZD6PLxMw+3BwrQg/3s\n8SXIt188Z+hd1NRcTjp2esHYauRwiDWFajYPnlXOMQ3Fh/hzTcRIWXA/YMw4\nT+xI2XxnIJpOOdMaobyhuXxaXQEvTp9JN8N8/Cy3FgezXbg+d01ccYP28/fp\n6DPpv5Lod+HY2Q9HfPimjBBIvJ9i577EDh8gMYdf+qcg8jl05ScgDGl3zQlv\nfbVXgAw2Lhzwrspt+a78JLCqsbAZwz5JJwz/yo8FuIJQOCoIcMvXs34/drpd\nvZ83S3KF0oj4A5lq6pP1hYrZ450bH5a3VlDfWEkGyIxa+Z6986aOFdUtTuVH\nwYGlHnVT38nlYajtboTfeAljLoVqCkhsemHpIGKBzFevXtDsqDauKyAUu3vY\nGHubG8Vu0lwS4ls6tSJjQLXiVGuRLix0L5hAaeScw+m3NWEsdBhj2Pn2cUdE\nJWNULFgn8BFegV41XRLabZ+AyrLNeP6/RTb/4b//LnlQzOMsNKKYQYuDtFgx\n1JJXcqEYLo1tdNE1sQb8i297/5trZ6xp+hmfnDqpHDrD4EDeoDzVzTNSxXD+\nhaac\r\n=1JH8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMTUq3Z2UUTpQD1Cleut88jZ8ETs8Bi+oz1yAJ4ddlnQIhAJH+nGTvo8LhFTwYRwNXvR8oBb6jf+hi6Y6590/cGmoD"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.4.2_1589726463566_0.3351974210274429"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.5.1":{"name":"wscode","version":"1.5.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"9a122dcd914c020190e15055a0ddd0342aaaf246","_id":"wscode@1.5.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-wrnVMzMZ4ha5OAWSkWu7X7Pv3k7saVWBehl8qsEgwkg0vr6F/va0vy5+BV6YOSJ14WODxqJAvhTs2gyoyJwIrw==","shasum":"f4766554848d09d9d5bd7603b434b711f08d20d5","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.5.1.tgz","fileCount":31,"unpackedSize":229515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewqlOCRA9TVsSAnZWagAAfkkP/jQ+rDEakSIcvqVI1YAL\n1raWOiAuemKLxctbG2ffDLXsggJWfc66jUohJ8bTjMRX9eNjoGoeCj8NSzSD\n01h1Tmm0gOKRASzkua447xZstfpmWFqr+IBgikbZnBE8838TTUVyYsZTsHaE\nEjDRsRGQGZ3wJbG9nu4/rgGTc9GSIV5paPqJjLhgkL75aBMra+vGfKo/M9cz\nUGVmvIh0LeYIPV3M577Xyf5GrBJLWoaMiQgtL8znvaYDhLgPTSOUjUrfTx4Y\n+xxs+NFXuHGO2xDJF6l8f3bY4LOOM5s2LVLoKMRnV9EcTQO8n/BoYlUVpGqC\n5cgKSZa2sda64VTRH2ciL4WRxPEI3/2bJxjz0HcPRY4IPcpSOPs/I1vCc+pW\nt9ZG+2Ki8hXCMt0TCQzO1Poqm0XK2b/V39767hUCKjMzvj8lHCGLRxz1bMPd\nKWiUv//MN0rObh5fJ9OxB8TYlk4ZN3wrq08rHoPIehwKz17oFDBZ/Q4qHjWP\nsxIOegd4y8caeh85mjbWFfwbhL/1TTAD0ZbmIqeu7bxRRZpJMTv4zm7Suqsi\nfnvGzbhEEkPdoRqvf29ncgKVk6QlODbxRa8222+V069jFLii5G94MXAUyIXL\ngv2vRxBOtpv/QMkNrmIKGw4VTxM1ers5nGXUZeAT8pNHUpmvoc6Z1nPYo8vn\nVZQx\r\n=ufUd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRWPnsiGdVWyw9w70dglaxmh4Vb3YSPBpn9Ij5SDRHnAiEA7jIEN+uckPZYfhu/lEsz0HWUzRr0jxj9sLTKh58PWAU="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.5.1_1589815629838_0.2665624912641389"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.5.2":{"name":"wscode","version":"1.5.2","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"9a122dcd914c020190e15055a0ddd0342aaaf246","_id":"wscode@1.5.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Uf7lbKWo7WiNPwjN1lfCv4RsW4eHSHGnlqgxIy3YMXeUGbK6eXigdAAcVCAQRh6jg+Ao09Nflb6msNihjBaUAA==","shasum":"6e08ffe74b2fe10bd4b1dbe74fa30a93863dc938","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.5.2.tgz","fileCount":31,"unpackedSize":229892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewzzoCRA9TVsSAnZWagAAHnsP/i+ZIYBHgI8Q55tPbcsi\nWkI8xIDBSMC3qRljvM1gpQXLeCW/AZv4DKpjMhue68Ttxaw3qdMV1m0qGMpn\nUYxulpwcdaoJxnjh4ZHh+gvkc1QlF1d77jQNTyI7Op0guAEyD7uMa59EyuuD\n6NmTnA8OFYalOzUZ5XLwV9sRDq/pV6mQAl+f5ZBq+WIn5oC6ztlVFBt51mL9\noY+kdKaUMmpjAa31LGmImWcD51z+cXT/dAftWRSdaabhNxay1hKbc5akeNe2\n04V5gbH10qOyMyDL/k3sdqA60vQIDeBn5Gc0tawWSuwtUy9YAWPInQpTaqb+\nFfk8X7V7RkKDdMuyLd42+oYK9zdYxV6JN8Sh79hyG9egYSzN6SeZxZztXDw7\nh2mEb4QsYXwTJzid8ohVBnE6eOdJHNUlqQzMiCvf4D1xGZZrsEkX2vbeas8u\nd9MIvkcwEPOPqKU+wAjvGNMTfS6TPVKUNKEkGRwih/BNz6GsvNRwzclqzcLg\n5Q9cW6xdvzIpPu+v3EWojYqLOaY8MwVKOO/T4R/wsLvanm8DBIsl828pPRDX\nDGs3/JiYUAqfjTz8i/bD49f7EauX96HDq9QVRW3On4pEeQ7vINy9P0hVsggp\nR4PA+WDj7HWgzi0/c+TfcwG2hvvT/Gfq7eVUPS0WGy5RMGeqOZg8qV9gcwYm\nohkk\r\n=XSki\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC17G4nqrGUVlYOY06S30ghxe7M7JwbqD1TCIZ9JsM2AgIgU97DY2/4yw5vJSDut0YgtGMyyE1owwILkvVWj/kd5gs="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.5.2_1589853416073_0.24619747230880673"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.5.3":{"name":"wscode","version":"1.5.3","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"f945920c1713fef389f93453354d32d10c9d478e","_id":"wscode@1.5.3","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-6LJKxnAM1J6PTr2yMpWurCpR9MvUf9a0HsyQ/K9BU6ogtAKruXTj+9C1dt8mdicliI1NBP0jCTSLWsFLPDPg2Q==","shasum":"d0df8c8a5127368e07d05b484b71fff7e436e9da","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.5.3.tgz","fileCount":31,"unpackedSize":232979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJex22UCRA9TVsSAnZWagAAOssP/inELM3iTU/hP7FyV3CX\ntGjUpV2UVA9S5j9DqzQwECcxYqa4JQ1sXp51D3iNrHEke9q30ptOmo2rJoLr\ndHpVCrfgMoPworDSSd+mlQWUzo6xMXvzds0bIELxU+vuatzsA6iYs+WiLOo5\nBFOFJgvULxoqkjLwV7l+aiYJX6O6ysy/Jp6h2ptDjYBOjU67ba5UIFBc1mrL\nHkWPJLgVUmDNFysKQfhJbsuzYptcmQfOWTthNh1pdX2whWr5M134ueaxg6YY\nJw5aFgrmNyjbZMh28C6vTncQbFBUpm20j/USCkiSkCTkjJrOEPMeQkhSOyN8\ng5irNQlZlbsrfQqwaXoL/oP07lZ7zwAVYhcK8t0r8cfDNdsEFFhx0Nm+Mx3a\nvkyZ4mVmOx5ZtlLEfpFGNGDfULMjKQzDMrK8eLNuPG/HM5Id1qOuiUoMrWX7\npjdCv6hGhiwUeBHZFvK3fJIZchqD2PlKeJWTobNtWrGDA9x1SqYlSu8KfZ3X\n/atkO+o5mmWQAx8577R/txrpaJCTW+jHl4+2xMKvHN59w2MZSI/idUDT3NQw\nMwYAzQRjKLa162uXUfxqNgGTUy8sfGHjqlUO/wxW/Li0Lr2A8LNvKvWJAgia\nMvzAOrd9Ofza533Tag5S1izHzLJGhvvKsuCY750Y81Fa9GamUZ0NHaRrnd9j\n9ym6\r\n=9mD3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDiUDD0D4ncSj+pPZy//Eah2mzmUbyf/FsZsQ+6jyX0yAiAhKSn5PVp08pTTBfEgfPiNs7SSatDTxeQb7X6jfs5XxA=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.5.3_1590128019912_0.3522756681818"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.5.4":{"name":"wscode","version":"1.5.4","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"1738e8d757fc0eeb0696aaf24b7a026740b6ca9a","_id":"wscode@1.5.4","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-uOJ0cC4+vZgEbSyzicY+I/f1r2fh0KFm81KzYoVsZwJYqKI/M54ToOFnr6TpUYCvQs0YFDTuqrm57G5h7efFOw==","shasum":"803a1d28876677b6ba1683b797ad9cb0fd69ed6c","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.5.4.tgz","fileCount":31,"unpackedSize":232960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey31WCRA9TVsSAnZWagAA3/AP/igUgK2zT4MRScgvPOyh\nbowLqdaQAdVrR69h7UeGkdXhF/7tzjfokP3MADVQhEAemd72DIyYY5p828mD\n/qo/bKKmLY9fQFoTdjIirD0WJByxnxMN1D0ru+LPAZLfwCFn4zKQxPatTYW4\nvb1+PxfF2bFlT4pxDPOrOyYXeIuyjRP/1hX4v39uCmvT03fEBkK+idAUNERJ\nH69DB0SAxEf4oEpZaG7ppiJZ8FhOxh/22e58lN8BER89AjlEa0NB/j3IGQ0j\naxwOeF3HHe1HCkeXyn/5Q2msn6wXwNC8v9WldvDfwUarB41JfRcEeh60MRkt\nujyXeOjH6DBXDPOQi4odoV8KKA3g4nbMPE6xyILVg6Bp2k+2/KALVbckopeR\nYwNb2FWRZZ1o7vgTaYoYIDmWqVV1xLd/1RkB+w0/fj6dmFQTZLOziqW8uz7G\na/6AO5j87hq2RKcLqWbRl2rcYUjkeyrF7RtWW0U6sjvZ8bwQTsruuJDQTxsu\nhebiSKgkfqmdJe3tGiKrlbuHrCv/cMjk47sMZJl1YJs2T1CHPEAx/c265+ZS\nSZ0OTYUgIugHcuh/H9pdhKKdW6O/7GUIX0dN8QR5GHFrgRHSJBg86xLKY731\nDqZbbYpTlfHfW68S3rt9aaMewkFy4+v5xkuxt4udEbHRsGnNhqNfrNYZLKoy\ndXXy\r\n=lWlB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhZliST/7caZ9n4KPn1TlDMrWtMJMVfGCmXGrueaRYQAiEA/GZQUCawjgTdpfcB/vyCVGWCvdZ5DAONevP/+u9aWCY="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.5.4_1590394197887_0.384156807045686"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.5.5":{"name":"wscode","version":"1.5.5","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"3bcaeab2af88962c4e55f8f49428ca87e870f43c","_id":"wscode@1.5.5","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-2fM8Pd78XPPgKIWtcpa60kIGW0UZp7x3+iOfpp7v4dmSxDcahhRYS2oNCJTNjn3c4VQZ8mLtqwnJxRr7g/9Q6w==","shasum":"49242da3589cf2b7d5cc9807bb58403f1af66b00","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.5.5.tgz","fileCount":32,"unpackedSize":238223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezJMQCRA9TVsSAnZWagAAXlAP/3kRScJ0wCClCronyFZ+\nUY7lhGtWDEFIqtBUis5C51BE91mMuGFn+u5TMY+cKihbRtgeblYgHH1MnRnu\nYyeIqQfG5RhV4pQmS3QXNJriCIhSjRQtdovUNiGd9zEjt44pC4q5S7wIHehe\nEIk2uc2vwaQoAa1hOwLgiXCMWHb0BuGhlYHsN643GzyRArS9LhHYBmRf73Na\nlP7PhOomHNH0B5TJ0RNBABIMYE1kHPCvRWdF6U0xTMfQL/y+ynaqlTpsY2kK\ngXoKYoFpX2bSoreclN69XT2aglpjp8O++I4UNgG1NV4eaP84by8dceDzLOhB\n0LIK+GaI+vx9ryNWw63MQ7CJ1+ErwGwqoPimZcJFR+rzPFTzYpcNH7cJNFnP\nmaY+XTE6DhfJqcBrGsl4AvJCBo40QIx1lcRiPHU2jeaCHT3IYSWNLsskdRsy\niZw4AX59s5MYXYzxvLLYfBkq2sEIz2TEzkD4mZAdgis2MOKP0p3Tt7wbmNiI\nIDNfAV8efRO5olqaDAOgX6thA9l5TL1+ERNfp6CtSo3H1o7SFAR+WyWTyzrB\nKkeVD9wjlJkJnFUq42qatQwFpS4RYArtOaixlQEjlAMcp5tQ2OYWeuv0kflj\nHqrJ5Y6Pm+36lSKmlknULbCy1X9eGVMrw5MqBuutW9qghJ2G7ZjWP9tA3TJp\n7fLS\r\n=anF1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDcINN5mZvfDR6J7VqzpruxEtut6okJV4am2DJcvB5S+AiAK9Fiaec5xzocUsxHwMQknd0f5L4BfIzxIiAFSrqDhWQ=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.5.5_1590465296317_0.2838376779291585"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.5.6":{"name":"wscode","version":"1.5.6","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"cfc523fe2bef2690303651abb604d0707774175e","_id":"wscode@1.5.6","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-YBLCYww699RsdNYhNgO9IimQj+HD3deUCid8VOUEdpvZF+G9AmRYQN1SJMeGX2L5uSSMTB+bOrHcfekL/SP00Q==","shasum":"3991e160753ac7200fcc7f4ddaa94a06b6f86862","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.5.6.tgz","fileCount":33,"unpackedSize":239118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezMQVCRA9TVsSAnZWagAArWoP/il6PKlBvsXWoUWVHfCz\nh7I/isXqde/AcnUCA53vgClxtPqMZFc+vhqI0W7EjT5kUEMRUeLQIbT05DF5\nKUEMsMKgSswgtrLBn9Iu254ykZSxAGhFO5u0kwZO4YOMlVsl/GL7ilQywUrK\nxri3Fk2tOw+7+Bqy+LxF/1ldp+O6yc0GUY8agVxaC48u3iyzZSwgMvy6PE2I\nyTHuzZKpfyA4Zn+b63h2GWibd1saBk8naxQSyNTlG6chay7M7BV9UXedoTlq\nSwJVsPOoEdp/zTNIUv8RiHlnvtEhW1Tc/WZVTfON0iv7xEa4d22SbtqLa5o0\novWbEHppzZTagILUmvlPyGHdQMJKhyAYAoylEQkyNcaDdVWbAZPHCmI9mAGR\nNdfMrf2w6KKWwOn3x8kMrN5uogcba+Cep7SXA6huP4AtSFbAOe3nXZXrbP7x\nSjXwQUSQNU+p5aYtKvIsb86C+MnDvX/UDvygljRgkOU84eiGhYcahKCAbFv2\nhgABBHtcdRt3K04hwenqBuBtiuX0S7BMFrZP8IOeuZ17S5XnPGQ25SjhaCBF\n3pMY9EX/DJNiP4xUb2E5WjO5nF5PPOjG7IuVRUO4C8YoHCPaVArKbWFF4unY\nbkXepHRjghN7d9rFip/Brqt2OXFl1h9NAV6nrTxCLvPf46b18GEPwF//B3rl\nVmby\r\n=gslg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH14i+2XvhzwYMPKyqFwI9XEFWYNeJP/9vKttXcp88iJAiAZhFzSukk6BF3GFTEixzoYoZDuZEViDOouhjlhXkIHEg=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.5.6_1590477845207_0.1669354719625109"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.5.6-beta":{"name":"wscode","version":"1.5.6-beta","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode@1.5.6/dist/wscode.min.js\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader:function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format:function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background:\"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number:\"#888484\", /*行号颜色*/\r\n        edit:\"#eaeaf1\", /*编辑行背景色*/\r\n        cursor:\"#ff0000\", /*光标颜色*/\r\n        select:\"#6c6cf155\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace:number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang:{\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type:'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color:{\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"f8918cfa53c9b875eb81857cd53399d83bb531c2","_id":"wscode@1.5.6-beta","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Gpw0ksgZgRQX3qbAAoPVU2qaUZx9bVozhZuW3VIPVaK5hzfXSiNHj1WYflcnp1y7N5He8UG6Nhz0AJtFDrQjzw==","shasum":"6ca52f202d5661baee5d5972866f3549151a4a30","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.5.6-beta.tgz","fileCount":36,"unpackedSize":246745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1Oc0CRA9TVsSAnZWagAAXIYP/1z61qLG/Q3Vz5pCKdau\nRD3CwpKwLb8hBh0GQ6YfiT6IyM3dkMGiwtGqWFc2wzPXvLxV1XLdte8GVKyS\n78F+GZJxTHPnvn0zpS/l4vcZVpEq4rVkNHOQE0ELfw4IDaH3nyQIYgmLNGk6\no/YNrDHp+99QA6bH3JiPffUp7n0rQcfSv++AdJfnqePg/M9ioMn02fBzIZdv\n1x/w7X452GBSLHs/o8aScQcOFuRttppH7bFiEW9DkCLueqb8NJ31zTKbVqAI\nzD9YWyWUMOA8RE7lP5FGFjWN1JDBf5y67Po7HP3+8EzNHXuM2wnrQARO1An1\nl0K1scKhqeBbvkI+38hFWixcnNCjqbVF8T3hJOcYQEgILpX990dgEismzLgy\nOscBNOiIULbVXRqhTxtQouG/xllpxLrxQ4vA1kfhfASJU8CBMn8q+TKHJIP1\nW86IXh2ir2gGYER2OilXgC/LScl55VWwJtykbpzfLY4hQ2cpgh+C5VqwqQOs\nAXD5eYrFVjQqGfzo/JSZZo1APvTVfWs+xoPl4FvGNxDhM3KmtfDGUs4HBykl\nqebMY97zMO2bO99t9bVwcyyiD0PUL/7PKTeee/2T2m5RNWRC8xLBqqO8rRCQ\nFQ3TxVZrej8cRLmyv+WLe56Dnn9KZkrJ/TJIAujyBmHLvQCs4qa04jlxzVzJ\n0Xda\r\n=9r34\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrihErw9zkP0yRvRuHWEYNh0tbZOsS8ALZztnXncnWrwIhANW8i6l3iqTnDB5d3Wnob7aZ3w0oB1wp9k1+u+LthRGc"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.5.6-beta_1591011123445_0.7292327005929737"},"_hasShrinkwrap":false},"1.6.0":{"name":"wscode","version":"1.6.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"eccdee428322c8f2b66dd9f0079961e9bc8bb995","_id":"wscode@1.6.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-e5T+Qkhif67Qo/Eu4F+QCcTAIBaQxHpkdruKwEnlMI8xf/d37hDPS8RvSVf3iNxJfxuH9duQUFHZqvMvyXgYYw==","shasum":"09c89037650b853b8e3c14c41c777a43e552c853","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.6.0.tgz","fileCount":36,"unpackedSize":248741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe11BvCRA9TVsSAnZWagAAP+cP/i8Ua2OaPPKEotfaYLm5\njBWLfhOlqej6a1TvMYSfKbObfOYYNZjOgEqjIDf00iE47FUerOrCnK4N+DLY\nVegE19fdVlKzAJBTV4GEdice8NGRqhemfKDWkepJbL4BdtrkydZaXFmnPd9U\nS45brEB6sH7Je3OvPsp6n46cIfGgeOxqVliudWzUjHaBeUN6x903INC3+B2V\ndPJQjBPMdSc1uxswhqVLXwF11FbEw+ov0yUXz+a9+1qnAEM+HwAJQXfwMrrl\nj21A7K2e8qJEZgE6r0LWAqXSZXv9MtbOSG4nXmXHD/cSUxbCacpZ9qllEeop\nHkGA5a4f0aSQAbk4USigF/1DKnPwwVZIJVqsx4pghlgbg+SSUw66WFqX9bj/\nB4wqA8PCQJP/2hS8dAG0Z/9Sq/A6nLgoR6PIVGmWG1EiSW8ytgR7vsb1jwYn\nnICe/iuV7Xm8ncSHHo3SEQTxhrRkP5o2Ob5eSvjKv/AGGFPbP3CDNiEboVmm\nVp1RfmVIbBD73QzFIkTi1u38mYPOaRfocgXvcAU5KgnePr6VlVB9fks38aoc\nxHqPreS7Ye4UzAxfZQ88BcBczgr3yw78IUlSpgL6ID28lnkqJgynOaiEq9Po\nZfHKL+EO7VZpB8NDJBp/jneNbSWPyimvkoLVNCF1MDUWk4xhZBkWzPEJFk8D\nJ2sC\r\n=gUVP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoWL2GBwUbhswMYt1G38/FA87mqJGeAmCeTsoCI3zXsQIgfGrtWlP07FR0fu+R9PclHmQg/h6BjpWkeemqOpBX1wE="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.6.0_1591169134894_0.8292449561796951"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.7.0":{"name":"wscode","version":"1.7.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"dependencies":{"xhtml-engine":"^1.1.4"},"gitHead":"c9d192da156962f521e90cc92885151ee1395f55","_id":"wscode@1.7.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-57gPZaLmnUvkAFi/XXGbc8WlRS3zpgtHyrvvadNzJsBS52hDDuma3kg3+rSjRSZ8n9Uea6RHRkpfYJiM5u4muw==","shasum":"3ced042b8d54347569f1ff075e254e64257a69db","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.7.0.tgz","fileCount":36,"unpackedSize":320195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2fsvCRA9TVsSAnZWagAAZowP/08dStM/zxEFbt1OyUde\nWoceAoUAM1TldVXGnW8IpFsK7Bcboq7p3NDQHwN/54WXzxgUaJNnWZrXtD9Q\nqXWJDyXzSn6HWZ7ngYHbV0O2wGraJCYvLvUOoH0PM16tIhh4pOQdkaJzspIw\nwdL6bGe26ycI7n67rmJ4dnYSGSaNKmKeA+MDddo3aHixaXWA4Qc6A2FzPQ09\nbKCQPdcetLB1tsA14eqbDz9Gv7/krQYD5bkdIK0KYKcYzLnNTh+sqEuvPIbf\nNlVzbs9kbDURUU5JTrjolTdcnnCCAs8n8WNy+2BRjK2vZSVVsui5DUfhjAMv\nr21StAeREaydRgsmOYTP7O03QVh+OEFr6ljsDCTx7oKBUh6nWYVVuU2QuXEe\nY5jAju+MsQvCvR8Q941Fd6ETUahbVodDFUxxKCFH5uNE/wEvC58Y1fIFnMy7\nNja8pPbURHHCqa9pM55S2QwhUVqDAlvFw2nL/DdLth/p4I9w0AnDgMu7no7N\n17aptqIY6rK8N+VSAmbLcmtOxAm/xaIHhma3N+zjc9WB6DkLEewxVDevPXnu\nggNJTmoTKbNIEXsEWT51zIVFYEVU1QDIjxcPd37bp8EAWZiMw4oQWuIaa2sT\nPtJ7REDn3gcxHAL7AxGIFc6L2JHKcJsMxv8+Ku25IHfBkqdKhIfUjpAiyNDe\nR8zh\r\n=azG2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2GBu3bm9vVvH5UaD+2iWXFbrxcOyiUbsRrsdtbX4QjAiEA1YxIsz+N5dw2OY8d3GWoMkVL+4twinj3iHtq8H3ogG8="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.7.0_1591343919052_0.04438994708443089"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.7.1":{"name":"wscode","version":"1.7.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"dependencies":{"xhtml-engine":"^1.1.4"},"gitHead":"c9d192da156962f521e90cc92885151ee1395f55","_id":"wscode@1.7.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-T7wWhCSUpA69N4ajZUn99A1U5TPHiFy5hjQdRZYxxYMm+0pbGcgQovzrzFaiJ+vHKOGgjDcVaI52b/rg1jrW3w==","shasum":"d00b19f31f43dd79d6457c0c712cad7158afd677","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.7.1.tgz","fileCount":37,"unpackedSize":317996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2mQdCRA9TVsSAnZWagAA0h8P/3B3BuP1aNnddWJknhhn\nbi+iIM87/IO77hBq2fPoTZncPeeheLL1Emx2LomppBnJ8X1RUPjzOpJQtX6q\nnZb/61TUk2Y+OnXezj22hyDUnlUVURuDnEII0L0r+VWTals4xq4lbCC/BfB6\nbQkjr+xpFOKhQr3Ngggq/P6oo0ymgtHYevLAyjM/MoknqvjSVM4XcnVWDd2O\ndYOiU64JvhBqreR3nXCYocOfWxfmPnjKYESi4Nx55iGKPvKFaiuVETI9CJYG\noZr7WTiAgliUXcyrstBwfyLeXpMSwFlfp/i14+g04uHzFeiOa1sH4HgmO9Em\nXn6rIYgVgLT8z3/aevOGq7gzHjXn34UFjMZxz4fGl+djjYu5vnfUUgvrl8Vw\nFedw+f1S58YP5SbXLo/oFT08ugc7VOpAigSNwKEZcd2d1TBCeaLGKFYAxWk3\nSEjN5bmhhFLoNYV3JEteXiCasWmvhrVLoQSxe9Cf3Tu8r+FaW7SCpxqqW07S\nkSrdFlyC7jh8adkl7Jol/T1HptrsPfEJTvlXVRmFXd9FfN39mEGl6bqoiVHe\nlhYLTHOwJ2YIABanw5Tw06qApk6HFIAaefymoXuBvI1+i7P/X1dqrOm/e6uA\nxOidDtEXRhK2LQ2c/5t1rhxM2GGdJktaMyneGdC8u6NdUrf3zqV7hzMWjKaH\n/8OI\r\n=dtq5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLs07kLbLADIiBjJ/6RgS3OZW/fNiJrY9BvyqieCXaIQIgA9Dym50zFhZHsIV1bwe5AZgxV8icRiF2TgqDRjAkh0Y="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.7.1_1591370781161_0.2315295199408316"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.7.2":{"name":"wscode","version":"1.7.2","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"dependencies":{"xhtml-engine":"^1.1.5"},"gitHead":"cb18fb3f362d11f039f7cd7a0665333a1fddb702","_id":"wscode@1.7.2","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-H+8IQiVvkuJPVK4I2/+txzs4CtTbvw1+vkSAtrFYyETCkJgtpy0MBdG48KprXCLy6of8roJ4qSVQ+Cis6kr1eg==","shasum":"6558c064ec9bac974f2b708912c2c03401400cb0","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.7.2.tgz","fileCount":37,"unpackedSize":324225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe20T6CRA9TVsSAnZWagAAPmIP/3SH74iNmZq2hrbAyUbH\n36vk78OjAiVGualqBkp+oyHjKb+T6flwG/6U729taShjc4yTnaTiemNZ/GVq\nGyhitEfb5ehAHMv0SlFscseG8KLcR9jfuVNLMG7jy4wVOKdSYcK8WxTRAHgg\nNx5box8DfZSKwk9m3O14aSxNm7Q0NK7hyotnCN95AiBj5w/6/NY+l8i0ztPi\nA3z5KFLA/VNBrOguzuIf43dpG2O9p5PDSejv/M3V4xWzxc2UW+wulKgZLL7J\nfSP0oR1SihHFkrTsE/YMdhv/+F1ItKlwRyOyKiE9RbY5lvwRLieaXOG+cJwc\n1gcKfKbTuIKklWeeBYrPuUMJRpB6HMrtR4Wylv4G1b2kxeOTNhE8feecsMDy\nkKFIqgVKXnRJns5V3g+ZhfIUGp1epGCu+J/OlcAhxdk1AealkerU89vXexQH\nF9UiNNvu641DNT/AsewanhJCyidwHZk6yK9LorJ2WWJwKeSdn5XzPcsqDyIT\nt1Hq8yzGYowiZu9hIlzfskgn1jTpYVFvw4sLPDx0/Pq4Pzrs0t9guFyRSpG/\nOGqlgWcXv304tP/X/Niqtg2RSHZ+Jln8CeFXb+kuR8gA4DoETr/+2jbcPM78\nmN4glIag/M/m9xLxm3sLQIN/0/ZPLaHjrYnYJquWm1ALGlqsK4pn6GuMd7To\n+nQO\r\n=xfHS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsrh+g2W5XVfjbKAAUP/8pLBDGLXLVyubwpYrR0ifJIAiEAlD75TOq288XqC8wsg3zagV5O3/Jusom1oR6fcN1isKU="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.7.2_1591428346148_0.6559692057422273"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.7.4":{"name":"wscode","version":"1.7.4","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"dependencies":{"xhtml-engine":"^1.1.5"},"gitHead":"f9eefc3a28f6e40dd214858f9696c3e51688a9c8","_id":"wscode@1.7.4","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-o3c8uuDbh97MuqDfVUHJ9v4QaxOuwgGZpn7ubl+W7t+xWQTJ9Nw8QYFz5YXSMDPTTL4SDtx2eQLDpqnSXnZBAw==","shasum":"f6cbd2563b7f9b48a240a55ada501d087f6eab3f","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.7.4.tgz","fileCount":37,"unpackedSize":322138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4taZCRA9TVsSAnZWagAAjVMP/jyf6+tGkL3LLlYyYttZ\nvJlxwxZfiGdDnTAnf6+XYzGWO9//Y7hcNv+BeO6pJFeoZMM7iHjPOCVQwQkk\nodQpLczZUz1K/CoQ6i7oJ8apc+5GaQfv0foCNzSttWzE/bVgu43ZeBbP5dAI\nvUYtsN9PaoASOdAT33/OQfHGoi6uF80XtnSs6YB/2Nyt2JlPBhwhQFNDm3g8\nRAXNE4CAFExJoBkcOPqvSWKLLDdzxPfZ5pdxgbhjQlLrkcD1fGXt1RGm2/4Z\ngxq2zgbNaxHjG/x83P2keHjeHLLk1mfyGu/VtEouksdi2xOczqbt8RZjzOIp\npHjxBAFp6VLu1/nY2FmImEvHT31RYjcP46RXHdb4ZXbc1SgCC0vexaHMiITp\nQ/RZNhMeyzksHq/25SCh+ej65GrCC00SFOcEqUP8gx6xhveoOd47eJfsVIxc\n4gwrAl8fjfNR6dTaU+F2wJDTehD9w4GrrSc5DXDDNpEFMg4fUjqnWd2LN3MJ\nIns6Ki9cNSxawKkXu3Mq4N332Bq+hxXrtrQ1eRwfhdWVBeeWhOS2Jrz9F7AG\nVGmo33Z0DbY+19lf8p/LiHhTgIFyvV3Ei/zHXskSNoj3eI1ZynvLPKjyA1DT\nIH8ESbF5Cy/WL5hxmDEr25/O9c73WCoMB/2VdRp2ZF0iph3svYA+clNp3dqQ\n2147\r\n=xUia\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtaxxCZgX2qaJ+9dTqBaQqgblOtqKNrr84D5V/iKpkEwIhAMAJWQwESQT5bEQxhX5hyBrSl5H5RtmMpAKIvpN0k9xc"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.7.4_1591924376925_0.42653212891523795"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.7.5":{"name":"wscode","version":"1.7.5","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"gitHead":"269ceb9830efc8fc11fb70ee5171691ce8664f6b","_id":"wscode@1.7.5","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-FDztGgWntAwkNVGgykusLL91oLFVt2HhWT2bEx5g4ZFE1qQxexn6yXSTw7tYiPFDT5h4goZnFvuceNJ6otrYow==","shasum":"78ca8589863314448ef4bffe63639cd7c143b096","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.7.5.tgz","fileCount":37,"unpackedSize":326657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+BW2CRA9TVsSAnZWagAAfukP/2QER+FaxklU2DIjLrh7\n4Mua3BA0MzAT49JoEOnG+nH9NlS1nb4ntQnUWYaMTc2L5MOigJ/CVd1dPmtY\nKPNm8olVrK6eiKkdJzRQ5Vn6H59Mvmx/bldlqEVxbBAi76NPjr3ft6rrGPi5\nZPePioY3WjSHTsD3XUkUI/SSEKAIsQ8Rjtsk9Ide5FR0tM3h42rlS/9mPtBw\nMZRuZS9wAQTf278/MczX4HLL60IW44pdoNApCgpL8KNQCS2oVfB5s2FTGVNu\nxpXAEdbiYRr3szOoZLYW3RWKyip54Jnxq+hRB0HCKhpm1gijojLmG+mPwhZE\nd0QAJQCqzO4FAiwabcBcN4qhC0DM6ZprVoHED4Fj3VwFjXgXqrAU9Xb4TjiG\nT3sryq8PMmZm7vxadTAMFZLsNy66iMP8ULkVJ1hfTijpHW7l/m8LMXF18sW3\nJRrinGKxIVo/bK6bVNo8L3K4gUVMQGYd9Vpp67EscP1h/3FaKAd4lsl6LwOR\nwcKmLMxUZFbkBiCksiUpF1AvmOMWFcvMu28Q1Pcqi6+MIrYzSKkppMDjFQS0\nbmsCaEINUDRC+iKSzSxjPfiEai2bWQ6zXzSeVqvuiMJLeFgx/LXITKTNuQ6n\nOSHZKGrXrx9+p5S9ZecwK3Ym4SJafiZ6atP/+SyujhW9I1IolKsa0PoCWMFg\nGMJn\r\n=r5CV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOXdH/VH1DWyezyRt/uyRtLsqmX5y8lQBY+7H7+2WRaQIhANao1hMmCnTGTXt1itMmR3/2+PsJocvTbo/gtQ5+EK7f"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.7.5_1593316789732_0.3203022352855438"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.8.0-alpha.0":{"name":"wscode","version":"1.8.0-alpha.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader:function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format:function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background:\"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number:\"#888484\", /*行号颜色*/\r\n        edit:\"#eaeaf1\", /*编辑行背景色*/\r\n        cursor:\"#ff0000\", /*光标颜色*/\r\n        select:\"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace:number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang:{\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type:'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color:{\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"269ceb9830efc8fc11fb70ee5171691ce8664f6b","_id":"wscode@1.8.0-alpha.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ICrPSS5PLzseaSxmwSGRzOP5IFdEgAN7yClnfo3Bqjy6RvJfqkRF7mDUYL6/GTbMefegE5h36ZwdJke/EgOm1A==","shasum":"10700b4baa92d30beb502c475a42a7afeda043d8","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.8.0-alpha.0.tgz","fileCount":38,"unpackedSize":325540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+rXnCRA9TVsSAnZWagAAKUoP/jJBcNiVAZTnT3+vjf4G\nKwYPEjJ+zpkGBGs5Q0X1CQFjHj6NHbCXKs5hsfZ/fKkQ7jL4RVig2tnxWsmd\n1y1okftBzZMcBebdantTCCFvAvlvNiVm2qasVrjKs4loEw8v5TdxJcDbDt2l\na9ZCnvDLMtuJ18j72tR4BYzhXMB1ls+/LckdDkSo8qlwPrcTi9+KH3fDEr2e\nOLeYVqwYpgxrSCW2Dr7rwd2SjEQp8LNmMSwvpSY0hbU7RDWeUiqUidh5lPc8\nWqZra6PnBvWx2leaiKFGQzQTK8mIjB1F6m6I2WBzHgqnzlRY/ElifDGNXLN/\nBO6BtUjnoRNn9LQUTwrTosYpuwE6Dz+mg7VYLvaA/LBJFxZoUqyf3mNayaDA\nJdqA/lg8pFWfS0tMV/MYrwItmUv7u15DJ4tnxmYAMJJBc3PDGsdkwMkQbkJT\nSmr+OUZEv3lupwivujG8GhnYLW68crd/BN3yOTPgP9yyIQzaASPTU3203e21\ngAQE6vn7H1Yfj+vkGPtmQvc2efCFEzrc9IKaOf5XWu5+dcswcN9jtsi9vpOd\nZsdWdXymb968iLBr3gtYbjcSvS44J3CPamVw54Eb2f4u56Dn2n1wB5tn8iXo\nr0sVkW0YxZQfu+x9omBJP2UNtaqH8WOXcYx+3sT/2s+B6PMjGI5Kv4pyMOKz\nfwqx\r\n=LoWM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEmXQWXlueMMXNmFa8bSoAbvwcGKBnjk4It15kM9xTApAiAd/2vsfCKxVh/v8Ug+Yk4FnhRJ3t4e+be7927i7v8WRA=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.8.0-alpha.0_1593488871471_0.49812963973527546"},"_hasShrinkwrap":false},"1.8.0-alpha.1":{"name":"wscode","version":"1.8.0-alpha.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader:function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format:function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background:\"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number:\"#888484\", /*行号颜色*/\r\n        edit:\"#eaeaf1\", /*编辑行背景色*/\r\n        cursor:\"#ff0000\", /*光标颜色*/\r\n        select:\"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace:number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang:{\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type:'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color:{\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"f9aa0fed68acc5923df6534d69005af6721a8ef9","_id":"wscode@1.8.0-alpha.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-XsLUnAbINKgj1np+bHxbQep4/WEPA8SNl01ZlIIRcwl7GE/dztBoQZtgSDJD9kQJdjGhW/zUkQ7gWy30JvL9Xg==","shasum":"bdbabac801eede75f41bfc99f8f932bc5650018c","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.8.0-alpha.1.tgz","fileCount":38,"unpackedSize":332288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+vM1CRA9TVsSAnZWagAACkEQAInYsD9l8roE00QmTk8h\nzsph2FYC98yPhGcNlGJXMPSXYYcxIiXlH+drFqsr3O2oBW0Bk4vFb5/9brQ1\nDGjhGOk4pbhakdBjOmoCXLhxK8pAol8YEGUOng2Qx675jIyguMqmS0qoGl7z\nBhYL7eBKgv7ZRkhOdhzOTxTJfTdP3jyjKsgHo1yvEx9F7CAsdN/6lZz6vD3g\nC4EOMC2y21gjl1PJTM4pKAFondLG+tVMe7GXFm+azMDuzLo1uwP8r4+vOuKN\no+NaAKEyI1lNlvh8LGt6Ervj8yh/qTLOY76lMdy4Y0pgXCC3BN2DUUSxOciJ\nxSEbwZsbtEKd3d6zZhTvYTR1PvwjRWYAPOLBQzcq+OpbcBBJ9h+a89gogPdi\n6yjeVXCZkvB5lDTDbpbaHGLtDnMYr5TZrD2yo2bakcZ55UizP1PVuj4GaA84\n0S8qJC2XGlHVacPl/x9TyZI7RuOwg4RNEKoT+KHZeHmkHC+JBtsvYGEYNxNM\nyn2BqopTE38jsJoWF9N6sIqse5jZDJKfIRam2cwFx69KsS8kdh3rXPKmqoTJ\nlEi1Y40gNp8bhwaVolcFTzulWkarOYxD/9KWR6w5FIe9NTQMO5CI6eqdIMuY\nAP63Npi6n7clIKOUKT/RdcRJqgPc2H6xeK74E07m6F/NKHD68NnbbFbU4P15\n3voE\r\n=AbA3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqAb7TsFzfNHxb1fALqScJRWyGGVEvHIaUWOIFwTd50AiB78a9+4LG8JIvdsnBSSBP/lVnIlu2LUMzxb3s9vnUFng=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.8.0-alpha.1_1593504564272_0.009794743063203937"},"_hasShrinkwrap":false},"1.8.0-alpha.2":{"name":"wscode","version":"1.8.0-alpha.2","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader:function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format:function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background:\"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number:\"#888484\", /*行号颜色*/\r\n        edit:\"#eaeaf1\", /*编辑行背景色*/\r\n        cursor:\"#ff0000\", /*光标颜色*/\r\n        select:\"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace:number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang:{\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type:'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color:{\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"6a0102fc2ecd605eecd5d9daca0d0413233e29b9","_id":"wscode@1.8.0-alpha.2","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-dFBFxOKTX3XFOZoqkBtU5U9JH01NXZsa4vcSLS8YF3ts9JoIy8Uyt2ojuLDc2HX/7zhUFFVMRo5Q4Ahub5WWSg==","shasum":"d5ca6ee57e1220777fd574808071aa8c16dd086d","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.8.0-alpha.2.tgz","fileCount":38,"unpackedSize":332599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+v0ICRA9TVsSAnZWagAAlLIP/214YoNtaLBPc6xaa5IO\nRW546CLvaxh9+Ther3WxWui7ourWHSeCEU9ChLEeIZKgNHjEnVba876c5wVv\nY88P0TF9TkeLsujJ6yBXeNaaPfIi33GpmE/PxjDN2BE1YKXzVccXxaD8rF4G\nEegC+1HoJR2QauDXvfjVGLISDbsc3nMMFdqgCqxhi50J5rGWodZUF+HQQN6u\nWG/xNf06lgAHaNRds4SFf5C0qHeXQpjQxHcTLKJUNAH61TXelIo0WXsiqVD4\n1MBnoF6CP6VmamrI7bQ/PqVsrmhF5V9hYDZWJo7xtHOPtNCRPcDNNjQIN2xS\nAfq+vg5MudJo1mzO49iJI70tnkfsOyJaHKsh1HyL0WdGU/lAzTPUJ4ZZp811\n0ezN2VpnYchky8ADlXVmQ1kAPpQ6tdV4R6V3BCwULKo26ACsIJwTJ2CJdcYF\nMsc4Gh74EduVh9hPQ3r+h4ZTAIEiDk6qt4zLIcNs3zbI7chhTMDaLkgwFK92\nediADegE18DbieNyrgeVPiQE1tWNIN37vxeUcsxl3QNYhr+a4GrXTSrqRPIb\namsrvFjELPtT0IU0UsVe2zM3Sy9SDP+KxvJWa38HvDHIf9DCeM+RtYlbJ244\nHEy2DCZ9xdXY7RRpqsqIx0wrK5LPNbOvgrBVyg4inYa3ZMjbRfrzzIJTnjtB\nDnQw\r\n=s8nR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICrZVi8irUU1qKnQVBsVNaCuW16O8RLIv8HRvKjWCZHLAiEAz5E5IDH5CyIDeS/QmKXNgQp2uQ4A6VhMYJ3EgK9ua04="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.8.0-alpha.2_1593507079755_0.6940841924539858"},"_hasShrinkwrap":false},"1.8.0-beta":{"name":"wscode","version":"1.8.0-beta","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader:function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format:function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background:\"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number:\"#888484\", /*行号颜色*/\r\n        edit:\"#eaeaf1\", /*编辑行背景色*/\r\n        cursor:\"#ff0000\", /*光标颜色*/\r\n        select:\"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace:number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang:{\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type:'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color:{\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"d5dbbd842bedfc78b41a0703bfcfee4a9a4f9b4f","_id":"wscode@1.8.0-beta","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-OtqTDXpk1nrYP/Bh53aOzYxUcHIHwSwxHopIKuPSCJsxTHm8jLdxCGsL/el8P4PMXpCntwWrHx4IuifvNH4Zzg==","shasum":"c5f1db9d7092033bf988dedcee6760490fe2d066","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.8.0-beta.tgz","fileCount":38,"unpackedSize":334042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe++9iCRA9TVsSAnZWagAAqCsP/0fv72ot79fj7jyj3bKe\nF0DCkYGue8/9Jt41xaKosVMTgQ9Cx7NtMaEsbSVQY/+itIKSMOQXMsuK+WL6\nVqHYWho/wTgPqL1HboIb4MhuGPNakIao6XPkPJrPg6MxdoCRrbB85fdvC0AM\n3zwDelBkpKJEWs22/qOuq33zQOoprnkFfDN0N8s7XDvzDuhhU2RBqIV9mjO4\nkbsxEvMmyVEpzm/9zSFUgH813X75OMTFk1HfI8RBBTaz39qUL0TSA2f1xwme\nIyvuxTSvO4Jmm0XHMHKeSi2StWdLQXbJ80lMQ0TXdnywukvbo+ZSykkN5VFt\nlug5ra3V6yZU0qhC+c/lZT6CrJ3R0W/O92jOZ1uhu1/G9VFRDVAulUofP2uK\n1XUD/s1WfBfk9mFM3uaAUz1caxo9kYh84r+N7kcWnzFwM3OlN9TLpDsQY4Ms\nDm6YpeYwowt1DFuFRv1HfWOkxRxGD/akqJrhsI7V6uIGjO2UPgmlDTU4tAdU\nw3cQl5Ub0bHPofStiv9yOvRVeZUdcpeB40h+sQktQ2KPyxIHo/fOBgek0jc4\n7EzXioQubdx0upgepN5sE3UQHhi8zNXADlLLBD6YjWnTuy6j7axW4FcEn7Jc\ns0PwdtAZ/2Veo8z3dDf4bmtfckhKGUcOCfj2BUC579siJCj82b5T8iN3HDdE\nDOVb\r\n=SK8s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClAvBMNOxtgzR2OCi4XkqtyfzGhzIXgsHN+qp0XkvLbQIgfULvsiuYK2hrxrsQy1UwiwY6WbJl+4aBGyZdy56j3bg="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.8.0-beta_1593569122156_0.47653538526372463"},"_hasShrinkwrap":false},"1.8.0-beta.1":{"name":"wscode","version":"1.8.0-beta.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content:\"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader:function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format:function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background:\"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number:\"#888484\", /*行号颜色*/\r\n        edit:\"#eaeaf1\", /*编辑行背景色*/\r\n        cursor:\"#ff0000\", /*光标颜色*/\r\n        select:\"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace:number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang:{\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type:'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color:{\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"2c4ce3a86021185985dc134d67738983e0824b92","_id":"wscode@1.8.0-beta.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-cQa8sIlNTKSZS71gSp11XL8/F9eLeeLEfmsMw1xNWlrPQGkvxWGw5LMAStTW/kiyMtrCFFFsDrkAvsQED0ZNpA==","shasum":"59c6ed04aceaea9a6c7b3c891f2878057a2e2c91","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.8.0-beta.1.tgz","fileCount":38,"unpackedSize":334048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+/KbCRA9TVsSAnZWagAA4EcP/irXfrt8brgLfLK02p4q\n0PWOMpUeHmo43VbP5tpCTgZWiqKWbqpKq/l6dBNXl/OhIcSJiLSOwKfgieEI\nj6OBJdwvoNz01cwjkIqKInGqNSDjx0pVTl+b2PRDgozG/SJqzy2WpFEhIjXs\n/nAOPwaiwiB2UxR8cbj/fCM9TQcSH8fQhjlVJlzl9IIZiaFHTPyWQ8mV6Jle\nGN9uYaxb+DmJC/IacxZgxkTEAn+0H2pHSB29sXsAXYEwI07cSjOQLkjM/7jb\nO7dGG7xZMjE86Cn/mGUpLibgY6TcMfNgLw/KmOocR8MSLhlr5/0XH6z8pp03\nXOC4kSUcYnoTSipqfHpGW4nhW99w/QdlOdZ7Jda7dxBnjT0gd/CBnjQi6VgQ\neJ52KzaqgS6sFbx3dLFZeOiL/CpeM1yqbOrd7UIKkABoJOOuD7O4WjhocSbq\nKIslaxaTI5tIea0RWNTp2IknVa7X+Xx653ANWxpFKAdg60ASBNYwV4U6CZ1Q\nz7a5I+TOPn3jxRDrzkFrgBWCU8ne5p8XiIVM4AGyJwpLwHTsw3PuvyB/hYue\nNe9oJbfq1QmVxOaQzEq2kjImmoNRRE1mFmXWUHd9EQruVNINXoYgjrmI38Sp\nk7DiUec+DmMY33KMUS2FmZUf1jQA5x8KgwAXuKncxCLE81FfbgwTa7no6Qk6\nxtmz\r\n=c7yz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+87mVc/+SuegPeaJEdPYoOei3suKoqvmVq8gJGQZK2QIgBmUwawb/YUTuCtC0eYwYdqsx/QMpnrESpMiCv3cnabs="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.8.0-beta.1_1593569946605_0.1474821452767101"},"_hasShrinkwrap":false},"1.8.0":{"name":"wscode","version":"1.8.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"gitHead":"b5ecc9ea58100b4620edf58670526faf24788118","_id":"wscode@1.8.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-SSsRLlzJpd0O/s5e2DYQ9xaLxRa4j3lqPYlSZ+SQmnludY5GsYKfbF7WbOROIS44ix/K1nhnxzWwQB4JY8uGvw==","shasum":"e6b009e68e16962539c461912b8cf0e3e29e6094","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.8.0.tgz","fileCount":38,"unpackedSize":337621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+/0SCRA9TVsSAnZWagAA2rwP+wf1plmvMrPsjwa3exOZ\nJWm/olxDHHYb/v7aqvNnlKSa0Yzobgg+90OZJtvKEr950EwKOaFznmopUug9\ng44kW4EdAlIdS2WtV6xeb2UPQVD2wcy64vEwuLJf0IsbkvRHWt48Zs3nQccg\ndiX/mLJaJyOU+/54QZ6VAcdDEUhOjM7PLRACdWSKB6lXyh8OrdRVusNHsfao\njHuu+sWTf2kp/703FOYbnIcwfQyiPOu3dXqHmy6m6dh9ZdV3os09wgMvmvuo\nuJLnXlNWUMoUlcre9pC3yXD88BNxYgJ6IFp7ra3uZEVMZbmHEsoMIRcB7dqG\nVvCioGz67o6CdvsEcBzA5K4AGbRnwEMsOW3FhheGXkVU0T0OKG496S3BLcZJ\nFLGZ74SLMEpPmZJoTLEsjvHaUl7GmrdFHtQVrGlGQFGy4jTUgSKthWw3Veoh\nti+dELszuM/kuDs4ujV/A5/mb/gGdJn/tYZUpfNIkFWeNxQm1SXcA2sC7Dc0\nvyEcwVnM9Lx1KcBaAF4U6WlOdbE7HNqh/pB7KvKP+eaCXp3AJTdiVWQDXtF3\nmAzKeTOe9iNqSp2XIcDdoWQNxpYj1bFUloyZt/RNWPUGcx0p5J+hCr2b8Gzm\nMd4aLD7y+Qpp7nHPfTfhYhFR1P8N+jmuMezIElNxmnTTruc0b4BuSuya09uY\n2YBg\r\n=46T0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZkl0KMUMgTGRS7Ts6/cnLm1f09uRMM8FWlrJ3gRgSJQIhAJ4wLp5sCsaqVboFFCEynAf5sPOQLbnRJNQLiLbKPoa0"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.8.0_1593572625519_0.3303348070017502"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.8.1":{"name":"wscode","version":"1.8.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"gitHead":"580672966b01af06dd6c144b706607e78b72bb89","_id":"wscode@1.8.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-jhMGVo2KR+3F/q0UMJogitVOiAj1cHXlETMFMM8mnp2mO6n+mqJAzlSaKsdvsxD4PbIWlMa1Bqq77ph5SSKm1Q==","shasum":"963f397860bd81452e72ccb72e015c25183d44ba","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.8.1.tgz","fileCount":38,"unpackedSize":337982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/AymCRA9TVsSAnZWagAA0akP/A2Pq916Av9BEALjbynD\nc4O94iaC/kPWlR+WVCiZJRq0JKLFpMkc8xcQk6EPZWUlvh3YAFPaL4e/8Fw0\niZFMgWU3VOfaDPExxjajdCZiVjQaYEVje8UT4rhysFCC+Ss5vNf3zYehBURG\nfxwEFNiOvmXwDvHUGB6TAQvFiEtRE0pDsfqEkRqLmkKDGlEk9qiuIlsSTxY6\nzCUlqiQVGhYZSbQL401ULNOjYrjwSYiYyENi/zninjB5CBCkntfiLGjK0A5b\nlTyJFshaAbOR/5/aR/HTD3pFRZIR1kb9NRZE9zFaQMJskBJB0DH1JEUtXk7x\nuDoA7h+Cywu/lzsxtNx6xmSbCnrnDIIJvtpBgvuimgeiU66voAtWKKb8FxG4\nbM+vZDl1BAkGgvyGLTMX8i87s/HtBw0ikB75QZ1noh0/fq9WkaqrXpznUnii\nZnuRN+3Sg/Lt8WtpOsqPQI+lrTkWZZeMAatrfPbwcQwzSe4EeH+0/qk5ZNye\nUotO4DUOZhQBPwvC4SY7zgPpvHODUPeu1zzG/EN3qDS0R9UZ+so+tx+GuJdB\nBQEuSyFETefwey4+dwhjVTvDs4A630bb4vIzf7l9+3NG3LLYTMjNhsANFtB6\nPzbAOMGbSzK6sG3Krd9D9c8dK7UZox5+jr85VzlfvYXXO5aA0C/+INwssKuR\nLln+\r\n=yKlI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC91YyBPSNNRddm+K+eIBZMgxAudfJij8m+z1njghTJ+AIgLhCUZRpwy/tSa2xo8N3R9ONT/Dx8v1EoptX5yA0P4u0="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.8.1_1593576614256_0.9419862478723504"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"1.9.0-alpha.0":{"name":"wscode","version":"1.9.0-alpha.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang: {\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type: 'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color: {\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"580672966b01af06dd6c144b706607e78b72bb89","_id":"wscode@1.9.0-alpha.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Hb5KEwKzvsS51Jf+3tQzLjAUbvgXHNpzlwYNi0fesGufIGPR59ahCnPi5OVygyk0tclwJaEpc/1cuU6jzHOs9g==","shasum":"fb9dc2780372d32230cbe7470089299ef62f9792","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0-alpha.0.tgz","fileCount":38,"unpackedSize":336826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/VvECRA9TVsSAnZWagAAOzIP/0TnhhM37ohK63OR43VR\njh72UuXS7NDprZ5jS2Yu3zTIFQrfMZ9FYTibLVruLQNIrZ+YvSgB7BZevGMY\nVNS5xovBkJOlmixzt1Ry1gzxKRAKFE1QHFRX5gjA/odz/9p6ua6evddsNkZc\nFy9EDp6KzZaNSkQEOG4fa6P8rFuvyIGIlbgezbop+pwo9lh7EartOyh3ep5K\noytRhzxQ9BzUWbsw8nc6oajmBneT5QTUYFvm8dcFm76TiIjVKKXQ0IQ7ZLLq\nkMI6qWn2VEzx9SLJTyStGc49NuZL8svfpb/NUPFxmRFyH67oqZ9f56MbTeGj\nBKDddxQPmgUuJoumEqKOLV/EnXba1ldouVAq9LpxyM4N1M4qVOKqXbUmmqNX\nq0tB9We7hWvjs3oHxmU9EiWsC6dauxR3AY7LVyvSF6AMpeo1coSKzg7yGpS+\nddCaxasgBe2u0s0f9pO5uC8YCvlAQAhYc3uGJsQKMAh6RKsTf++1ocq80x9D\n0CWl93cdZE8JGbLK3X0hMsxoncUo3zJ3PGXhQqq/671YzyfY2so2GMMhjjtA\nTsWYBt0bNQI4+KiY5vsdAmMofFYGFysDSevUcE7C6Zkxi2Rgwd0lVBg6ibkL\nhDcehqDJhooHEseXSmVrt08KRBngSL10iXNCw2pUnLwAYji69ooWaBuR5+yI\n597n\r\n=dx5T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGsuKb5RZMQwhIpYL/ah1eukuyLkMkKzaYjgmiYcoBI6AiEAwtZH7vvrgZmBO8ov01rvAFL1YjnPJdwGivPiaNok7GA="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0-alpha.0_1593662403616_0.17420849408193173"},"_hasShrinkwrap":false},"1.9.0-alpha.1":{"name":"wscode","version":"1.9.0-alpha.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang: {\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type: 'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color: {\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"9d104673e6ebb1009d531dcfbc9f3051f6537fe3","_id":"wscode@1.9.0-alpha.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Os8nV1raBtpsweQm9KuJrcYFc7+uO/8Uw/g2AbGbBUcFKyTG3cFCodlNS5UsKj6oXpLBzaS7V+fR0JDKSU/fhw==","shasum":"ee675787d261c1b0b6958e8dc0d5ce5426550267","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0-alpha.1.tgz","fileCount":38,"unpackedSize":338393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/YE6CRA9TVsSAnZWagAAf2EP/26NidadYdYCzbJR8jKE\nQxs4EIya5e742+dmanqK0cZl7IjT3hd8rEskncbRzyQWLjWSk/agyv3JVpvo\nY6zEas2INLU1xAETr1CyTX6vsegwFXpJOdjq/im+4ATbsSg9gAI5WD5RK6PF\nVFNLtaIARl928Cw7TMlvyjHbdGgeml+qpxc2ilJ6oeb/O9u6Htp5Uk1HkubK\nXmywhn1WczE/t8DR+7XVjRoJxRyfq5/EiSVwsXJEr2FeedWqgtw/BCvLL1Cq\n2L8F7GM/E1Q4PqTy9QeR21Lvl7J6x3RI6BDSoYytaAmOz/w56/JJxnN1ugNK\n8IiQe2njOcfZlui1MCN11v0cDCKFuB5v/66SGoqAYHMge5CQpOsoxAFwWcpq\nmSGonywk9zfR8GFRLdD1wnMWygWvtJh9OGzA9junehi8cA40BVHjl1jjgkmX\nzGJd2bDRMt0B4w6KUEmtNFsP+TC7Ji2Wl7P3ecY/HLx2GQJLAQu8lMBr0YEq\nyomYEyJCj3ka3fEQOuXNSBErlhdiFu76vZlrBusIYSPJFzhkNq4WztI19rv2\nvowUM4t6H8tUk/G3ISj9Tq2v6StGtBAzpmougRHdU+vwiZYgIhEG4y814a7+\nLx6OXTHXIgGRXUuocjdN6osITMx8aotZkFByjLbmfwE0HmfYJ5kEkY5qCVc2\noodk\r\n=KRHn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2wxmw5HQdvKESE5NOEBZIBDBHiQA0yXizN3NlkhN+DAiEAzQRJhyTs9zJycP3Yd2tUqzMv9QbKpebBYMQKAWOyrbw="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0-alpha.1_1593671993642_0.16284920646766188"},"_hasShrinkwrap":false},"1.9.0-alpha.2":{"name":"wscode","version":"1.9.0-alpha.2","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n\r\n       // 返回的是键盘操作,可以有任意多个\r\n       return {\r\n            // keyString可以取:\r\n            //    ”up“:按下键盘向上键\r\n            //    ”down“:按下键盘向下键\r\n            //    等\r\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\r\n            \"keyString\":function(){\r\n\r\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\r\n                return boolean;\r\n            },\r\n            ...\r\n       };\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang: {\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type: 'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color: {\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"809f47f97efcb9e3ea9198e8fa7d4efa6e6a693b","_id":"wscode@1.9.0-alpha.2","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-U9Fukzj86Et5+TQlRN2bloJcc7gDpEJI/fEJsbbEnaPChMigurZbarGLcsyyvKlVuTFOv/T5RLrp45l2S6N4dQ==","shasum":"744a118c803cf9cc1118654c2da0d115276ca10f","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0-alpha.2.tgz","fileCount":38,"unpackedSize":341716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/ZJ/CRA9TVsSAnZWagAA8x0QAJ5QaJ7tGDkmH1/F4CNj\nvc1xCKgvNTabl7L+ItwSsnpCutb760Yl1JA1SB2S6ahhWP1fHBU+yu2kXuIh\nd1nPMv934LpLOULWJMl2eVdXDY8skucf3ywlmICH0u2cKs5k8ZyvzGfIVRao\nm7ADx3EC9jDR3El/sr1sJv6eSr9OJlSGiP+XFqaxPpk/nLf9yhqOpEuoIkZD\nlwetzdWuX3yHJEhvmYwKYaqESGufvPeRo8KJ8564tMmr8hnKC+zaYTtTIMjt\nVkqdEE4r0ZW+A6juCKlIbyRVewngZl9KXrD1HSnLs/pdhgb8BkFvNECmFt47\ne9u4sP89BRHxhwIz1kSBSbpcGEiJmZbmI35zdf4w2OKWWSD/t8k2L+NwKttB\nZTWKfDQ+CZy5aTfMj8B+VWKjGIYXycize5lgBHj1EZQZiazQ3YpIo6uHAHcH\nMHJl6zSgYN56bl0vWuCq9iIc39PGJc0ctlTlAcqs1aEsg6KbgaFDskhpDAl5\ntiZlYzs6YfbvfhAeBRJs9phUldChC9a58IBKhDB5WzoWlCVrMmi4KzmmoQ6n\ncsfI4YpzN5Jir0BO3CHIPd7R7B6mKHwqFCPGa/I7wkj5Xy2h+cLe6efbqTAY\ngQFkfbXGptht/E/ZJUF81VFv8s01u+mcLPl1IE+bcAjEJC+bZZxCR1pf1DbA\n644A\r\n=a78E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR+/fBMpSURMgUxY8sAnI5LTcbGm41rxzc/UKmvHuThQIgI66zs/Kutq5WC2GpYyEpMS9qgK4nKHVXl7+dSYeYXjc="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0-alpha.2_1593676415470_0.17130285452878158"},"_hasShrinkwrap":false},"1.9.0-alpha.3":{"name":"wscode","version":"1.9.0-alpha.3","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n\r\n       // 返回的是键盘操作,可以有任意多个(可选)\r\n       return {\r\n            // keyString可以取:\r\n            //    ”up“:按下键盘向上键\r\n            //    ”down“:按下键盘向下键\r\n            //    等\r\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\r\n            \"keyString\":function(){\r\n\r\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\r\n                return boolean;\r\n            },\r\n            ...\r\n       };\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang: {\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type: 'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color: {\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n- 在当前光标位置输入新的内容\r\n\r\n```js\r\n// cursor和length默认都是0，前者表示光标偏移量，后者表示替换个数\r\nwscode.input(content[, cursor, number]);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"31622d389f827238d37e86b381b2d14c103809c4","_id":"wscode@1.9.0-alpha.3","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-lY7ZL35GquQilbi3Yl7mT9Z5Cw4Dq+1cJexVl508zLPVbchGq9ax5Dl3YEf4TECLfJbprq99W5cNJtwtDCkrIw==","shasum":"87342463f86b60dd3ab3d5d01a7e25931e095528","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0-alpha.3.tgz","fileCount":38,"unpackedSize":343992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/asoCRA9TVsSAnZWagAAKcoP/RJxXs4CA6a9QgzTh6Bb\nuveLskravZpMeYCSPOtCqPLXdicko6Uf/FJ3nT7D9fecKJ0BenOePewaBKX9\nEhWaCMZN6nP7mSX/jSzq9czckN7QQpR2P6ntfhPdktT6KEOVQs6/b85pYF1t\n0XZi/xeEUXddu6x5XaS/sStf5Myc5wKkFUQ9Q2vIsFT0BiR5flEwW76Mo3qC\nqD3qKipeobJD7+d4bO8hOdwXfcc5o1Unmh5sywEt8/BJwJp+9Sdfd7HsYMip\nSOpzip95874XwzfUcCvWOlRfRXDQdU6eMCcfCGtLIPM1hG4Tptvu3m++HMH6\nlxLdvgwvvbHGooznRlSCjov4HyqkMRTh6FZeYZgRPCZ47QvGBkFlnPEdxoL2\nsS5kyBYdw6lHj9FcJGq4KviIaC4N9rMPogQU6iyTrxmBV8I5yCqv0ff/ARcg\nOg4NOt9ZlxKIg7qooVHW3RcnlVKJjYN0vW2Og9TV0TJ/UGHdLf7A4zjUtbxd\n/izoxrQP7AfqstiTvTbXl9pXftOdrm+4VEFmNNzyQf8v2txW2fFtcvC1f2EN\nhahlACX9TvdAMKnX0l4tfPAPzW0O5gP8tAdDtMOm3kPaJKfOSG/iIOJvqSjK\nyKjCKvR6kazGBB294vhYecQSasE/6dmkvwkK2jgkJcL1Bb6qBhd8JHjus1Kt\nKZv6\r\n=GgVM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbGS9hRUKxv1oUPdElkPj7nsO+X0p6OkXQH1KmhQ9XyQIhAMVfRzJgznxrAt2i9ywBAfTLDymPgWua1o0ZdWPPJdNO"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0-alpha.3_1593682727787_0.5932636443470156"},"_hasShrinkwrap":false},"1.9.0-alpha.4":{"name":"wscode","version":"1.9.0-alpha.4","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n\r\n       // 返回的是键盘操作,可以有任意多个(可选)\r\n       return {\r\n            // keyString可以取:\r\n            //    ”up“:按下键盘向上键\r\n            //    ”down“:按下键盘向下键\r\n            //    等\r\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\r\n            \"keyString\":function(){\r\n\r\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\r\n                return boolean;\r\n            },\r\n            ...\r\n       };\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang: {\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type: 'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color: {\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n- 在当前光标位置输入新的内容\r\n\r\n```js\r\n// cursor和length默认都是0，前者表示光标偏移量，后者表示替换个数\r\nwscode.input(content[, cursor, number]);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"71ea380299c6449378032a26d00f1080f50f1506","_id":"wscode@1.9.0-alpha.4","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-UrTMQhOE0nCfZ14COdoIbWKr5744l6S7UOXkGfqiQswRScMWAxfX219eHczCDv42lovoH4DOp0+Ych4QRgoV4w==","shasum":"7799501ada700df96e91ac6f537405522169e9d2","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0-alpha.4.tgz","fileCount":38,"unpackedSize":343992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/a0HCRA9TVsSAnZWagAABwcP/2oNjjY9R7XVVIGSPUEF\nngH0D9tWwm8jR2fOQhdYizU7itcXSv1nUGio9OQFA7hXoQiETNRS147zM/+O\nT5Blf1xOWKhRMI0vaaC7+IQCJnZGfcbfrZvoul8/f6qV7X4AkEp4eUu44BTI\nlalzYOAKHziL/7f1IcNikm5+Tp5LziHKz7NborvwYKAsZUBKLtkjx5XE2CXK\n9K/dCLNGSnOqGaUFqNv2dpIySWLy99HUagm6H96067iSkk/KCpy6T73WzM4T\nwT25x+sj3AHm0SwL7baZhcyWrNDPuJuOUqwtXCP/oC0qp/JwiHIOkpCAagGA\n/CPmyFJ7DVosbGb7lY2ysmEACAHH2vJdiGPIAAO465D2XodBDiAJ8IF2wwwz\n83ijm8ZFObiTYQZINVs+mtkCqpyNc+ptwAZpew0aJ2zZXPdaScoBj8unNgkr\nM/imDBrrYKDxZhj6E/ApSXhObp9aQOc5Nyjjj3LncnQuslsy4w3N0MpRDfoC\n/dhNF3qZ7GgP5flMvjqoYJwmzyGkSGAmHn279cvVCjP5JMTLbOtiBGs4nOZW\n/hErxiAPVv8OIq475NqXk5NIAwIfIzQKKMD/fPzCPln5cJR3LiEkmOaYVPyf\nDSXzxonMLffkAQfW/JnxxTgoPMb2Z3Iv7ilTwlU6ClZWJvCSo1edmh/f2IYn\n2Mos\r\n=v0EG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC9lVSR4jGWNGEj2ZF7HFolDp6bbzKpW8Xci5EI6Geu8AiAm1atwYzepTOl/QphWRN2mNjit7YsGGEnT4JNrmXIlxg=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0-alpha.4_1593683207371_0.6279371004645717"},"_hasShrinkwrap":false},"1.9.0-alpha.5":{"name":"wscode","version":"1.9.0-alpha.5","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n\r\n       // 返回的是键盘操作,可以有任意多个(可选)\r\n       return {\r\n            // keyString可以取:\r\n            //    ”up“:按下键盘向上键\r\n            //    ”down“:按下键盘向下键\r\n            //    等\r\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\r\n            \"keyString\":function(){\r\n\r\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\r\n                return boolean;\r\n            },\r\n            ...\r\n       };\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang: {\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type: 'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color: {\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n- 在当前光标位置输入新的内容\r\n\r\n```js\r\n// cursor和length默认都是0，前者表示光标偏移量，后者表示替换个数\r\nwscode.input(content[, cursor, number]);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"4f33fbca64167f39f8c69bfa83af51ea6109898a","_id":"wscode@1.9.0-alpha.5","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-etehWM1DaC8Zi3yOnkVE+95cqo0ASLVnZvn50xnhRymGFo8GfME1FLY/AvBKC4y0n+1iHTbQWw8kLCR9O6aSzw==","shasum":"ae57290b3b8553e757d59dfb81a2d17ec03fe7ef","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0-alpha.5.tgz","fileCount":38,"unpackedSize":344103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/bERCRA9TVsSAnZWagAAo+0QAKOZZ3AfhlI+zPbgf2Ef\n2kUTULLQVaH6YarhP9Pusnr2rJbr6gLzmy3XyhKrxZ3K9Zk8waN8+Sfq/lwB\nI7h2bcuSoaE2x+KOUeYSJuonIAFgdgzNWGphp1fsTnPv3fLLEn6XEpA3NhBZ\nuMtWs7iWnOSNTiiETzqpyZZJ0DzGuvHoQuOHBWjrecNKE7JDFo10jvENSKsd\n45a1Efrk3WgVXCU05rSedkvlMw6Zmi9ZBio6+knyLVELi6LkWT1FZNef03jV\n51ycxRJ3yx2YDPV5XJWkoKzNU6ojxl/Jm9Bn61HipMpfWjau/aMa6A+47Oxr\n5zpG5OuHwfEHll8Ue55ZzZKqhIa0Q3XBXaFmn6ozTCTIQn4Udakm2+3Co5ih\nfJFwNJDOCye94NnRcr38AAH5mDNEtevX+OHam7m38gObMe/C5mzI7b0S1QMk\nSQkwqiVC3unxeLpSvCR5IVk6PazprhZTFNx871p2RTCqezy4VCQLvgcK5BTA\nILo8ewzwvjFEpmjjt5JmU1TlsxVgZUQFe7of1UFcuJASAj2UcrfjNKulRjXz\nx3hZFEyGt4oZHMav2bmj8oTGfMh+QNR3b/xlg8X4hta8qg9rpdPW+OHqhaA9\nACNmDey+B0TXu3qqXO2fNGjAqTGSDedeJ+sDTLQNGJWi4EfWBlwgSHFMXqX8\nb0si\r\n=lMfB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOReO0A8DxTtaDPKZxAAQGrFLZr3aXbzsA19jdl3joQAIgATeLe8IWqpBqMzIFH+cAde1SqJPAF23t4f+lVmwruAA="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0-alpha.5_1593684240789_0.6660400256484307"},"_hasShrinkwrap":false},"1.9.0-alpha.6":{"name":"wscode","version":"1.9.0-alpha.6","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n\r\n       // 返回的是键盘操作,可以有任意多个(可选)\r\n       return {\r\n            // keyString可以取:\r\n            //    ”up“:按下键盘向上键\r\n            //    ”down“:按下键盘向下键\r\n            //    等\r\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\r\n            \"keyString\":function(){\r\n\r\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\r\n                return boolean;\r\n            },\r\n            ...\r\n       };\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang: {\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type: 'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color: {\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n- 在当前光标位置输入新的内容\r\n\r\n```js\r\n// cursor和length默认都是0，前者表示光标偏移量，后者表示替换个数\r\nwscode.input(content[, cursor, number]);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"942c38b6bd6558aec6548f78353197e16818b0e5","_id":"wscode@1.9.0-alpha.6","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-C+EZnQ/aEOICEPzGYMiNN/WWTFvOw9qZl+/Rn9Q7CDoQK00pfw/YNCvwUZZ+IqptHjzGMw1R/xUGEE7orFYdkQ==","shasum":"be305a0f1dafd535258eeddabdf9a2b8d70fdb4e","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0-alpha.6.tgz","fileCount":38,"unpackedSize":344223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/o12CRA9TVsSAnZWagAAy3wP/iyEdeuUXc+Rdf69pFME\nVYxj+x1AKsIE1QOchLzDnPVs5gKvB9IbVeu+1yHkiON7o/xwJ+jlD8UW4PHp\nw0zUHiNnZjtM3mjjlvtNA7v8AfYwPM5IN6LUBjVemYB1DQpW6lQjcgtfvqUV\nkV5W4iiWTwpkJPcS+/+TDqZW5GjpeNrzRQkiuIO1f5KCbn16FJ/r9A/MKAzd\nI4iA85U1OdLuU9TGS6O08x2WDZl/ezBS9fb/lfKR9sCo3qGBGehiO7fCFECI\nTxwm7I6qJjGGrIEoPAmO22Hqo3mWC+eJMrB8jMjHxsWodAgMZr9ofbtk0gje\n0286ddb7JTzxD/8CKXtJwX+JHM5Mq1zkJrhGQwNieq5TzT3Qu2uhRjnh3IOm\n0vRpV2z94mYzvvT+oUHZ0s397L64ISZ87uIB1jfQwjkxOrMwdSvegh52msHJ\nYOrZIU/r2HPde7VYbMxhpM7YpVdzheR9/9/7ZgXKxz9+JptMoWNGj98lld2s\nQnvhjdz79OVszL8TQ+s95HugNHfOwgnR7f+7RGZHSX2Y4mgeeiDaMVj5sknT\njqcuw2Q+j2QGFVXgf3YN6Fse78bUZXC0STEsHxo2ITXEqoeSMIJ/FzYFgTIm\n3yiupNrVzeP/4CTxNtCjc/fJPaN7VZMSLNdYHGB8L8iMpkIcBM9lv14o92D7\nT/9H\r\n=2ZK6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDteSysli19zVbsPNSTFvSXUBe/DJxPyZddrpU7LPMfUwIgG0lanEGNpjEiMX3eE+m3fW26rasKwYtRCkEdGrha1Dk="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0-alpha.6_1593740661677_0.8082741642145674"},"_hasShrinkwrap":false},"1.9.0-beta":{"name":"wscode","version":"1.9.0-beta","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString, colors){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n\r\n       // 返回的是键盘操作,可以有任意多个(可选)\r\n       return {\r\n            // keyString可以取:\r\n            //    ”up“:按下键盘向上键\r\n            //    ”down“:按下键盘向下键\r\n            //    等\r\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\r\n            \"keyString\":function(){\r\n\r\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\r\n                return boolean;\r\n            },\r\n            ...\r\n       };\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number,\r\n\r\n    // 除了通过传递shader和format的方式实现着色和格式化外\r\n    // 你还可以使用内置提供的语言来实现\r\n    // 【特别提醒：shader和format的优先级均高于这里】\r\n    // (可选)\r\n    lang: {\r\n\r\n        // 设置语言类型(默认值\"normal\"，表示普通文本，无特殊处理)\r\n        type: 'normal|html|css|javascript|json',\r\n\r\n        // 配置更细节的着色（可选）\r\n        color: {\r\n            \"annotation\": \"#6a9955\",/*注释颜色*/\r\n            \"border\": \"#ffffff\",/*边界颜色*/\r\n            \"tag\": \"#1e50b3\",/*结点颜色*/\r\n            \"attr\": \"#1e83b1\",/*属性颜色*/\r\n            \"string\": \"#ac4c1e\",/*字符串颜色*/\r\n            \"key\": \"#ff0000\",/*关键字颜色*/\r\n        }\r\n    }\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n- 在当前光标位置输入新的内容\r\n\r\n```js\r\n// cursor和length默认都是0，前者表示光标偏移量，后者表示替换个数\r\nwscode.input(content[, cursor, number]);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"148483615098b12960221000910fff9c54bb976a","_id":"wscode@1.9.0-beta","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Zrr9jnMP1bc6UrFpS9UFh+9iBkUqJE6bEYVGze9cdmuioNyamkew033e1vitK+MqXNw0PKd/z2B5CcF50lh7mA==","shasum":"25b65d420c0315e93ca2701aceb2dae556fd72ba","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0-beta.tgz","fileCount":38,"unpackedSize":345481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/pVGCRA9TVsSAnZWagAANnsQAKRj2Ql6BRBCvFsYgwto\nRgoBRbARO38xca/zc+Eh06n42PkjVPkgaCjOZAwBR5aFB9h1L3oC25etMgbA\n+eue1YVHg4POAKoxYJLIYydBbqaYYHjEhD1Tw66NmHcHqMarV3961wp6j6a2\nKCrEYSXseATGAnrMzrLCesX/aQ6yAyTpbJa5XdMZsY6aiospDC4agkhFhegD\nrgchk0fOSCZzfQtPb/f1N+u4zMPHzEXfnTCbz4GiSaLbuWCrD1Rz+1qKAJfb\nYRjyLcTe+H2k+/ONFp+8JOhZ3eK4XOCK5PLofZodDJBYGFXx3hY689L3UdDz\nxn/Max7tcQg24bbRLA0KLu62MCIMKu105g/3KbyUzO6uV7YiHq6zHbnd4i9J\njsAfRqZzPDow+hX6ni6uecboj3vqO7tJzo+T6d1DKMnKgzfdE0O1KfMzuxZE\nFJerEHdW1CCncGx4l5XLoQWGAsUfKffvw3kPwF1ahTz2YdnDFaT3tmrY04Z4\nnWFHDUAvKXXSp4oRv1MPQbPIa0VMQ/d/hGFSNUaRqXjx/rbpL7Xf30WV0VnV\nRm3lnCacCb+Ljd4nzgs7mKpLUjJ5Jh6V+LUfNhXL+i6JdupNQ4bxRh4hnmqQ\noXdzpjn6BWgKAAmO7l3e2Lsq4ILGEPQR1FIFDc/xAt+ou2QLSZk0W+97BeqT\nQcRa\r\n=H9HI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcPaysWP1wrbuaH4HGb8QNoFcWSBqAd5gMrJ7OueEQ3AiEA2nCf597mB27OT25PxWTSEGTqZP8psLNNW24lIpP0cSo="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0-beta_1593742662201_0.16160001243145006"},"_hasShrinkwrap":false},"1.9.0":{"name":"wscode","version":"1.9.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"gitHead":"464187a0ec8d9c8109de7f46e048ad9c1de4ed16","_id":"wscode@1.9.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-vTMJJx0XbLjlUBfhON/QKLSjWHNhhiEc2pRGQ6iUMKRqkWfte1ezWfexSc75RwnlrP+NicoGPKJiC4LF0kw/Fg==","shasum":"ee68fdd7d59958202f35f6a1653a27caf0770e5c","tarball":"https://registry.npmjs.org/wscode/-/wscode-1.9.0.tgz","fileCount":38,"unpackedSize":349235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/t3TCRA9TVsSAnZWagAABhYQAJAJXZQkXNhp8GM5pDVC\nbSIGS+UC4Xp3OjdHdUJpVwH/OyD3He4cyIdkACqN/JsEfRlyxhCfyjBpBuC7\n1sKlRYhnIljT1hcZGL9Z9vmvg0g/ilZgcdAYWETfAAGmXFoSe8wdXR04BPlO\ngQLrKA2nPy4hhwAA3Kpkxm9uBn+/Wolh6Laxd2Tscwrd6it6JVS9+jU1MPRL\nmXw5FztmXXWHhjpnb9VVpmCFW6j/pxo7Na1naynaEIqoLesqj/1tAvTUNeoD\nPzqMeHGQhglAkNZxdyX04lUv3doabzgw/lQtvszZGtMSzAY514Hy1bUPeFfP\nJFrhecHHh3/ydGMrvBAvsjY6uN4AaI58WRxF9KYdxWzhpDLhoMyBhnQULBBa\n/2yLgj4YR+nkljZhHTnTeq8xAVtHelVcUhtJO4V/IGErsYuQ4YCV3xmvoxmD\nMUM70D0/TdaYyNBapObJRjUluS/Xo5W9d+9AIzGGXY80ZaBLfYelgC8+A5op\nInDVPKTHEofB3RwiOdIVXw1w+3mBILph/jgHdQujRD3Idy0MjDqjyQML4Ic5\n3qIvDyKDdLEj1IwxVG85HJ7AejTdESaHQ/9HrjRuON31LRhSjT+y7jVW4ur4\nZAch4EKUkPB3KNZSVuhX3KGFDcWNzFSEjpeKymPryrEEKV92caK1TCmplZs/\n4h40\r\n=YTjA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtEQeM1SwTtKhz8bk7tHXO0dkYK9RlQ5ru14LXZfyeHAiBiGBSSkwTa8Bk5fuL89Kfmqf/VKsQiTyDVQ7eHfANG3w=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_1.9.0_1593761234804_0.3247322671324775"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"2.0.0-alpha":{"name":"wscode","version":"2.0.0-alpha","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n\r\n       // 返回的是键盘操作,可以有任意多个(可选)\r\n       return {\r\n            // keyString可以取:\r\n            //    ”up“:按下键盘向上键\r\n            //    ”down“:按下键盘向下键\r\n            //    等\r\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\r\n            \"keyString\":function(){\r\n\r\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\r\n                return boolean;\r\n            },\r\n            ...\r\n       };\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n- 在当前光标位置输入新的内容\r\n\r\n```js\r\n// cursor和length默认都是0，前者表示光标偏移量，后者表示替换个数\r\nwscode.input(content[, cursor, number]);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"464187a0ec8d9c8109de7f46e048ad9c1de4ed16","_id":"wscode@2.0.0-alpha","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-1hwqk8dQ/SL4bYzORpz8DJmQI1e9u2ctj6bpTOAXwAhLezbqT4nurZgCZ+VhjJkKB4MLFIG9qvEP7KMUHX0Xiw==","shasum":"a52a7a02db6b1e14b231579a6a763c5ca7053590","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.0.0-alpha.tgz","fileCount":21,"unpackedSize":247069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGpNpCRA9TVsSAnZWagAAVUcP/33gcq3RmV2RFw3aF/Iz\n1NoKzZyMGRZXPvc6l9Bw5nAaxMuKWp0kBnFQUGX0TqYD0wX8nCLqKyGlrgBs\nmgz2xRPiPWZuyWxczBstP6k8B8o7UyNxIXKKJHSl2ZcNoxMdEscyKWIXKhtJ\nQExBkzPCls5BLNNgt67RUEZcJ81e1AFn7LcqgI1og7TkvFYQUTj2gR1T4BDD\n8CBA8qIqP/tZFz4uXoSQGEPYNTrtcK2FDCHur7cvZ+gqpTxy+xLryEBjwQBQ\npCR4zfpY8vW/tj3du6P/SX69kawEnCQUtne6PEOrsEBMjgmuP8McFJr3OeqD\nf5QkJsPx6nynoVXGMjTigl3Yz6S2RLZT7yM3ojE9cw11x7vZ4aO7vosbH2dW\noMTrj3k38cv4+CSKvDqJrsajP9BdOsXCmLzy8+NiIXdilf0ZchlApGiACzXo\nDMZeyGoEUK6Oefs/ciZLUbN2mIftHRk2mE0B/7UUQ4gD9fX3Ibzz26CRPMAD\nOhZBiKBS/CDTJq0RtpxMqe785VXzweaEIDqGfHNdEu4+BKTmVzQsCYd3GMbL\nXcl+QYOqgoofkOKBEezdlcSGaJIqQdRl+eFBus5qr6X7Bk33yBk+64cVA6kx\n5IOXgPiK33Ekab+jjDvt6QfQ9U/uYCIY6n7PwKmbD1caddr63Cggs4Eik93F\nK9pL\r\n=qFF8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7U62dgG3YgKLV9fAbgYZDD57r8gYaD5rOSmdwHqohGAiEAhxwSfCWOSyAwY/WD62V1ijp379M3ccSLkrBVDf92wpA="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.0.0-alpha_1595577192550_0.18216613237727897"},"_hasShrinkwrap":false},"2.0.0":{"name":"wscode","version":"2.0.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"gitHead":"27782bd4a6abfdc40f432ab3424458fabd9022ca","_id":"wscode@2.0.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-KgbXHQejG71sYvf0tL1JbW4XD/1WUokIzx/B1CWfASjzGV5M7+lERPdZBG1vxhLWS2Xi12opGja/vlCdyTxQnw==","shasum":"77737cead21fc126a15bdb5bc351ed56e8d0c6c8","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.0.0.tgz","fileCount":21,"unpackedSize":248494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHkJECRA9TVsSAnZWagAAGYEP/in4ATjQdi/RoWeztpB4\nbbOdNdlRXSDZYhP3pN4gnGcXx3H6BFoFF2BL4t0LRPVUoQeBsrNhXKnUWn+o\na4ZIa2DHSUIgLFRCMLSBcM3uI3cB70XRxiulVirgDeks7Yz8sIIOxRChbR2V\nogUAt8GzgL9//2Il3SThdUhxw5NPiDwIlCHIWOwvMnBrUWoNUpJLleoxsNyX\nF4Ehti9CRzFb+ikbZilL/fI7Zf3SDwD2VJOxrQbxmIUASvpsZQlqUUYqThzz\nYBgGjEE+Chi1bl/ogQ9zqZCXm6kGLpSkJKNP4YNaZvmVgAlxhELCizquJzAx\nFCiyVr+8nx1Fhl+ZXRNBQhmcORj2EFHqs1TNGgIo6AduAN4Nc2cRzGtf/oeB\nmKhJ8kWEkOZ2fvPscBAJerF3wtHHp+6FaqjFRVYc0aW9I2uOBjYHHvSWgP7B\nEctwNmE1Ez/+jGbLQ0QO8J95rf5YoqplRQfVnrO4mIfedLKdT67JLfv6u7vu\nKBWuQQi8Iq+XYdd8UpJqBzltkEM7Qm6JFR0SEE5nZc/iUfyZx5Fp1b2JraZm\nFUOO6vzonIs4rCGM1KmbL2t9LeUZg+GS5fv/RoyZzcYnVkd2O5fiN8oA9pEZ\ng6gb4IVASNeQ8lMfAkjoh/O5nY9/7/UhmERCADzoNkjwhj2y+0l6WOcIcS5p\nMBaM\r\n=1l+a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEnOYD398PZgIBu/shhhw/Zq9n2q+1rxFL/AT45r2H5QIgWdOIYboAIVMkPYI7DEmCq04SfLo+Tzp93Ljg/6L19is="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.0.0_1595818564154_0.4703965176629059"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"2.0.1-alpha.0":{"name":"wscode","version":"2.0.1-alpha.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\r\n\r\n<p align=\"center\">\r\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\r\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\r\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\r\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\r\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\r\n</p>\r\n\r\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\r\n\r\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\r\n\r\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\r\n\r\n## 如何引入\r\n\r\n我们推荐你使用npm的方式安装和使用：\r\n\r\n```bash\r\nnpm install --save wscode\r\n```\r\n\r\n当然，你也可以通过CDN的方式引入：\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\r\n```\r\n\r\n## 如何使用\r\n\r\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\r\n\r\n```js\r\nimport WSCode from 'wscode';\r\n\r\nvar wscode = new WSCode({\r\n\r\n    // 编辑器挂载点(必选)\r\n    el: document.getElementById('wscode'),\r\n\r\n    // 初始化文本（可选）\r\n    content: \"初始化文本内容\",\r\n\r\n    // 编辑器字体（可选，默认\"新宋体\"）\r\n    \"font-family\": string,\r\n\r\n    // 编辑器字重（可选，默认600）\r\n    \"font-weight\": number,\r\n\r\n    // 着色方法（可选，默认不特殊着色）\r\n    shader: function(textString){\r\n        return [\r\n            [{\r\n                content:\"内容\",\r\n                color:\"文字颜色\"\r\n            },\r\n            ...],\r\n            ...\r\n        ];\r\n    },\r\n\r\n    // 格式化方法（可选）\r\n    format: function(textString, tabNumber){\r\n        return \"格式化后的文本\";\r\n    },\r\n\r\n    // 辅助输入（可选）\r\n    input: function(dom, options, contentArray){\r\n        /*\r\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\r\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\r\n            {\r\n                leftNum:光标前面有多少个字符\r\n                lineNum:当前行之前有多少行\r\n                x:光标left坐标\r\n                y:光标top坐标\r\n                lineHeight:一行文本的高\r\n            }\r\n        */\r\n\r\n       // 返回的是键盘操作,可以有任意多个(可选)\r\n       return {\r\n            // keyString可以取:\r\n            //    ”up“:按下键盘向上键\r\n            //    ”down“:按下键盘向下键\r\n            //    等\r\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\r\n            \"keyString\":function(){\r\n\r\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\r\n                return boolean;\r\n            },\r\n            ...\r\n       };\r\n    },\r\n\r\n    // 设置颜色（可选）\r\n    color: {\r\n        background: \"#d6d6e4\", /*编辑器背景*/\r\n        text : \"#000000\", /*文本颜色*/\r\n        number: \"#888484\", /*行号颜色*/\r\n        edit: \"#eaeaf1\", /*编辑行背景色*/\r\n        cursor: \"#ff0000\", /*光标颜色*/\r\n        select: \"#6c6cf1\", /*选择背景*/\r\n    },\r\n\r\n    // 设置一个tab表示多少个空格（可选，默认4）\r\n    tabSpace: number\r\n\r\n});\r\n```\r\n\r\n返回的wscode里面挂载着后续可控方法：\r\n\r\n- 格式化代码\r\n\r\n```js\r\nwscode.format();\r\n```\r\n\r\n- 获取当前编辑器代码\r\n\r\n```js\r\nwscode.valueOf();\r\n```\r\n\r\n- 编辑器管理的文本发生改变后会主动触发callback方法\r\n\r\n```js\r\nwscode.updated(callback);\r\n```\r\n\r\n- 在当前光标位置输入新的内容\r\n\r\n```js\r\n// cursor和length默认都是0，前者表示光标偏移量，后者表示替换个数\r\nwscode.input(content[, cursor, number]);\r\n```\r\n\r\n## 开源协议\r\n\r\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\r\n\r\nCopyright (c) 2020 走一步 再走一步\r\n","readmeFilename":"README.md","gitHead":"c3c726932ad8c0b38536f5e33e26e37e1d9712e9","_id":"wscode@2.0.1-alpha.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-U3BsWPOFm7lc/7SdTdkwLJ1+UJDBI794ufUWU1vMzeK5FWP7P3nDsAdal07GAwOQax5vBhHx8H7vqJXzR3vOgw==","shasum":"43728575ddc306640cfe4efb3b7319ec4ce1f24b","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.0.1-alpha.0.tgz","fileCount":22,"unpackedSize":268208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNQ2mCRA9TVsSAnZWagAAqzoP/RkJegczvvNK+XI89WE0\ne85+rZNWU/tkVGfQs/VilhfeBjusSAzWhh1w8BsH+EDX7s/HFzHtWypIkRXr\nxWMrSEHT/t2CqRn8SN84e9jYLi97Ig/Hdj+sADaQu1lHZ0jDYDI5+Esde7Vm\nLjR6/hG44sniufiL7PmG5ZdQoJSf/UC9Q6RcGq3luRrSKr3urmOjDh3e6CJa\nQ4DhFaZWb+O7q8d2/aJCl+Xw71a4mHUDH/teslPAY/HHerOYUQnJHElyhO5N\nuDRzg3XpnW0mogdJJGHvMv8CKxRyA/1lLsG7H0Fg2Trw1yip62QqCoMqQT4P\nUrefGzSGTj6fjj9wLH9yrN8gg/V19TMWTtHAqdZgc35RupFzGOjlr3IPPXtJ\nxVJGYC5a5Up28x6zb+3wDvAkr/WJP93h76D8lbA/FU4Q4dB0IV/C9qJ5u1lL\nrwTLGAYrhANG81Bwv6bCukboYvL3Y1kGrKKe99tK+ay1MH7EoSKXV1EBMF35\nUFRptZQIhZZTWpTlaUvuB/8zJFihrnGcK2xBtlsygWFvvUxom58Dq7018vN2\nIGzyggkAsd1b+vhEEQPj0zWHvnHcIJKpasaRTsJSNdK0ah4mKxJgH3wf2eZz\nzb3+n28MF8OGGbZtyF7UKMKqhITYLMxvlLH9BrHUiOJBnrDCn7FqOpAjIhvd\noIay\r\n=erYG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7Au6MvaYYOXKvJ6+4PnrXM6w+Gh/VgwwbMp+wUTwOygIgewjJe/fjocC+o/TLzyf84UGWzwHWONu0n+lDYaElpkw="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.0.1-alpha.0_1597312422060_0.9961070404367773"},"_hasShrinkwrap":false},"2.0.1":{"name":"wscode","version":"2.0.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","babelify":"^10.0.0","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6","xhtml-engine":"^1.1.5"},"gitHead":"fa79fbe1f3a23ec0bead3c0b5017d93fb086976f","_id":"wscode@2.0.1","_nodeVersion":"10.13.0","_npmVersion":"6.14.3","dist":{"integrity":"sha512-Q+lgBOfme5gdGIUBB3JCRzsAp505t9iemOi2za4W3wvYI44vxlMTw1XdTtiVuztbr7ewiLhVTVS1h4LBcjWYNQ==","shasum":"e7b8cc899b90f789f66ebfe7021381f09fec88ab","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.0.1.tgz","fileCount":22,"unpackedSize":266348,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNVM9CRA9TVsSAnZWagAAKMAP/0ltFq7IaFl+JgKHUss5\nzqpQVNnQwDKZc5YciPbmDHcD8r0EnwQRjQFD9aqfpshKQXEhaa987DoDZk6R\n13p3+OJBj4pjHOaeWiZ2rLRY/K6gkXSed3mUR+NdlXqPffHBRoC3XQ6DjdRJ\nirPqiHCEL88Z/3JSs1HUj74NmNjqDMjKI8CL2wjU5nL+WKdJdKywGDLd2RJf\nW7GO9PUMx5NXo34N5yAbcb9/eaCB6/99lOjNaUO6xhnDxNQeJEixiCToFoH5\nkyTdoBqR89CfOFqGYeHxwU2Blxf4EB+oKwhT6cG88Ig0x/MIEmgCChFJZz/I\nmnz3HQH9mJn2BEQF19BQU6avXRpyQdebxsgrti0kmFBwm69ERqIud4oLbZMd\nS6+VMWcEuqzxLge1zbUBGgaH4gh+OUyJyH4Ufg/YiWzPzBKCTYR3F5wi/QLU\nRpFOksDGvC/KWt7KEeYu5fPqqyOWhNOs9+yGnWUXlTGVZkpPaHQkgYdCGFh+\nXDJYX4G58yI7XcqZvAq6eIz563u37GkmiFzrzIetfJMlRguOfbGWTi0SGlhB\n5fIPgh9Sy/Erzh00GeKtE21PisICCq409ojQ8CD/guzbCTsb/DhPXGWei8sD\nPLT7HMHydIRru1cmQOkN1SH6oDGt06GZ2DlbGGWwvGqQa+ajfr2z7C1T2nlx\nMMLG\r\n=GPmE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNLflN3HLt3ON7qC2eXAFrUXaLblZwOplLdUGgo/SI2AIhAKTRzha2ui6TFWwrHJrX8Nk9stZYRD6IdU5QfjY8ll32"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.0.1_1597330236717_0.2287260402703779"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"2.0.3":{"name":"wscode","version":"2.0.3","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"78e96940c2a0c2135a189a5e4db3aa3aadfc9651","_id":"wscode@2.0.3","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-IIHIVmF0Tkb9aGyypVDeoKZMxbmpHZwESyQW4ETjqpWYYPgczRS+btA/kkFzheBK0fv7MhOCcHRfW5IUr2rAwg==","shasum":"1f8f15259953224ed4e7d0fa0c9dc8b52c305541","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.0.3.tgz","fileCount":24,"unpackedSize":271599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRLfGCRA9TVsSAnZWagAAs1wP/iWhelsPRQxti266HSqa\n3Rz4/EjlDDLyFJhraQZ3ndKqFxo5kY3cIeoX8enZsKdXII7kYwVBLO8ZW0gP\nOpKQId4alvhq/201sIteveYEFUw4BZ8De5eKfuAyW6iYutSAx3lWq25CtZrm\nUSe81/2GCL1u8BX8QUK4F2uW6UbjlOEI5VQ4QeDUD4EvIs94tLL1BoyxVHZj\nnfzVXEVLKinNE6TswKhHUygZsn6eHErFoLWxFav+X2hTbbX1x/AXhfw1vWlO\nh2OLcqkk+/0SQEcSGnXP9YvRKUZwdLYCBgH99BtNxn/Qj7n3VwSmWV4vKwbu\nRjIKgyJX7wvT7yDoNNZssBm9lfbjvZPL2J13tiQzuk3CUCZsI4FfHZqpJz9z\nd3JVvpWnxggQXnxHC1NlvuBC2fG5ogDB+wl2/lrXyU6ke+SxL6XNlmamELVC\nhjCWmQeQaABAIk9s4udRykMpMsJ5Pco57bXaGO+dnBdsaV26A080AWkNgHnf\ntbKPe5WJobQAVaH7Vs1AhH77Hx/ZboKvt3kC5X2KH3tfE+9UU7F9+Cgigb1V\nZsRkBWvjAiQSjoA1lbKfweY1zeNiqQILi9WhcA9O6XwItxRB3rxgNXL4SfDy\nsqVZynAW6IjjXbOZR820jCziA/MAk1fsvfh4HvKLVqqQBM99MLnX+s4XZFhR\nlpXj\r\n=Xdrk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiDAp6gpGV9vPlXXQgv73tU7SNt33qKtTD0tFz6nociAiEAos0X1eWW3dmsErFgKlTfAIg+QsFMaq3elA31gC37qyM="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.0.3_1598339013751_0.3736477285278672"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"2.0.4":{"name":"wscode","version":"2.0.4","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"b4aff1ff5a16163f4bd6ccae0d3780ee4b8310b9","_id":"wscode@2.0.4","_nodeVersion":"10.13.0","_npmVersion":"6.14.3","dist":{"integrity":"sha512-/D1CV+TYogd0+kz579f34nYlbgzTwuAfR4j/hu9N7vxQfT9MU58/LkCKMbo3Qus5u/ucK0bQIsaHXo0+kSd9vw==","shasum":"ef293c4cbd089729ddd728f5878db59456e1210e","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.0.4.tgz","fileCount":25,"unpackedSize":270831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJff/F2CRA9TVsSAnZWagAAN5QP/RiK/ctSb4VynvagMdhi\nV8opG737JTzsW1YAOQ2OHEu6KAEtW09s5LA4/NTmM6A7lHSpwYXh23z9jn1S\nNurzfNApEPsAU/oRYa9sWORtPl5koC0IinO1G7+Zoqx2lJQC5LB9lqSQe08q\n3GOdQC0VzeaaYovh7tsxB1C9m4XlWsRM7AAgjJMgclnUpzYIfPR3UTALrR50\nY3IaZAeSu4vTkW6jVlMrw43jR86aXjIeys8Oa10r7ESTO1nOSvxk8lJngNIZ\ndb0SAEQn/EfZDshYH/ByDWEJKqGA3MN0xz88CC+H/h/CsTp7anBPTzdg7k8V\nHJgHUe/JLIfhXSYJgIs1wO1/vUjf4hmFOoxmqMnvh1msEyW9gmqR12DBViMJ\naGCcuv+vQhx0aL5SDlvldVepqzGHkQKMEs1HwzdYaDH5vuJyZbJ/iuyVGsc/\ncJiuQq/h+dpsPqPLOQYvfkA2Kq4dQywwGgogWL4UqFAR9H57Ty79/lM1YlOj\no8t2eGLvgoer3m9ah8tWt7SFvN6Ed7Nr/vbN4BW/dflhcX8n/3fjYxP6zruo\nvAf6vQK4nnITVUj3rnj3oYrzIBRHNIUQ6rHyO1FJoiUzevETgNniOAsSEXyD\nOnmJgBBhMxIJt3lgWSbe6WbkEUfEqqLRoKbS96Uo0mZ8dG2y183gVp4Figyu\nRuyJ\r\n=2kqj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5j5AT/nw64DeqW+JkuZaiI4apgyr27hTdxBZCdThBKAiBr5FwMeZ2nC86NnIXUJ3QpLeNTO66odLa2oWJliTDOcA=="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.0.4_1602220405916_0.06134329933894045"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"2.1.0":{"name":"wscode","version":"2.1.0","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"b4aff1ff5a16163f4bd6ccae0d3780ee4b8310b9","_id":"wscode@2.1.0","_nodeVersion":"10.13.0","_npmVersion":"6.14.3","dist":{"integrity":"sha512-QnaroYvTwsHf7uOq64ho+YY9VzShEwv8Y8+f09FkPa5jz3h5kSbJTSH9qjJTvhlOnvcM6W5pWlYiXRxdzQyZkQ==","shasum":"c6f24f870ea2097214f88c664817f786698225ff","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.1.0.tgz","fileCount":26,"unpackedSize":273927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfg9KlCRA9TVsSAnZWagAAvicQAKTn36zkgWPviGFLv5Qn\noYAiaG3fLIctv4BtizHz4rjlRXb16MhsxgJvPCgHN37xk7ScbScZb78Xizz7\nYIei/Xxgb1jpOoOIGbBHTFmmjnGrsJ6kgjW2JqfgWeZBwH78uSiuE4CWYTjw\nqmFpinqaV1M8aFhFVr+Z9I1kNUSgAySwKULUi2l54AA8vdz+hR3wMZYDKWvM\n4ElQEFc3xJ0fP1QyZzuA7Djd4iCpm3Pdusy7tWvy/v8DMHLU9MY1XZLMYwIG\nThJyMLT5YTu3wOQJF44NS/9+jjBbbTnR8lnUUKYzHelOmqqmLFAmGL8jNTgj\nKbsN9HcmZyZzVNHyhX6UgCK9LkysD+7dz6xxzr9131rlfLg0HrHN9qHoy76X\nJV5dfBYmhv7G8TIl7MP1CAu9lUnFa3+/NBabGYcjWXlD630O91UNQQxiu2Q3\ngWz7O4aKc4IU3YTN0eiXiwtfpM53WVTm5MHHhUcowLGkddDO7S8xDUc+Yh85\nR1eIu7j17holk/3Cive+bmm53CTF1eRfo7+Y3cO0hOCxJj4HAVqcUTv/9lwa\n0YV2rFyKlI1EWfxjl2xyGQ3wCIetMhfpuLdgtWbB3HrEDuxfki2hCV9HTo1P\nszJe/3FBRta/UBj/Ur6RCr6a+78ALHjP+Wtlsxt67sME4DUOXOmmE/PotnjU\ng5IG\r\n=6JfR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+cp4+XFasPZwTmt/3YXuyvQEDm3I4UP7lwOGi3+v4/gIhAJ+4ZKIntaA+uTfP8tLnYowzXE7STP3J9C8SMrqDF+pV"}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.1.0_1602474661290_0.685988750798999"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"2.1.1":{"name":"wscode","version":"2.1.1","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"cuf --config ./cuf.config.js init","build:end":"cuf --config ./cuf.config.js end","build:bundle":"cuf --config ./cuf.config.js bundle","build:babel":"cuf --config ./cuf.config.js babel","build:uglifyjs":"cuf --config ./cuf.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","cuf":"^1.2.0","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"14d1dca650a8436fb80589099cbfc68d58126081","_id":"wscode@2.1.1","_nodeVersion":"10.13.0","_npmVersion":"6.14.3","dist":{"integrity":"sha512-TPg8DD0OIouUiHNIydFm8FZ06Ea9A8PlBL4Iwduv7uuOx4iLZlhsdd+6UieVn4lQZT52vGuoPSjxkmyTKp9arw==","shasum":"ecbc42c4d4c7e68191f91d8ab9421a69b0952279","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.1.1.tgz","fileCount":26,"unpackedSize":275373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfj9o0CRA9TVsSAnZWagAAG44QAJiWoBcJAQg+DGslpAR9\nrgvZmoX3XYG9Gu70d6ZYskyJJDNtzaBH8cj0rnlsQ7XXXT5PGJVsq/4hufmA\nkQGK1VK/qqHUulBpjSCfNLNR2VlmFyWQklCKUN9rcvZDxk5lNR5XlM5F0elQ\nxM+qRcbcrQU3P3NWgExVNZaI0EDHhAid6SMcsVWYT3akmTOOCK+GqwUokBjo\nxYSsdUHZ4HiRUtKp7wVdJ2CFAKGNwzzTtBuBZaAuT7mwOKTfnSjuOe+AiYuJ\n9G6GzkYMAZwDleL+fPvtm8pbXP3bnGZvTEp4GKmzAUgHBu6HPMpkW9m8l/x8\nIHxbt8ql8YNq3prHt1juvwoPwVszjPMjCZnUd2iXVC2hMfmhfWxgst0UkPiI\nYF8fFPyuv1xDAS3c3ca4uNQ/ybwYbNn318fQeSaJ6buDcjFriE1Kg5eiIn5O\nW4w9h/Bjzn2DLWpKurdRpgORJw0D85mB3RgX4A8fk5eWPorMuzJUDgTFybjR\nnHcrz1HqbgTzG5xl68uQNv5rwRX/WklBaKO3DH4XBdsMba2ShRwcpIhHa3qf\nlcruWxE0fsx8gVdLOy0AK5EoWQ0/KhlxAsbG1ORVbBfau89K6IryfXSksiCN\nEd3j/Vwaw6Fs5age7rMXLGNS79eKKW0vd5QxlsMqL+ITvRS3bY977zPjvkdy\nbZyp\r\n=VbCE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8kjLMhjrbyb2g9hg87dQxje+fTf/j6gkrI531RrDTGAiEApTaMsnrn+XJ5fSrxslzf1N+sXFcnK5D6F+2niL2c/xE="}]},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.1.1_1603263027676_0.46497192416013955"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"},"2.1.2":{"name":"wscode","version":"2.1.2","description":"🎉 An Editor Used on the Browser Side.","main":"dist/wscode.min.js","scripts":{"start":"npm install && npm run build","build":"npm run build:init && npm run build:bundle && npm run build:babel && npm run build:uglifyjs && npm run build:end","build:init":"hai2007_nodejs --config ./hai2007_nodejs.config.js init","build:end":"hai2007_nodejs --config ./hai2007_nodejs.config.js end","build:bundle":"hai2007_nodejs --config ./hai2007_nodejs.config.js bundle","build:babel":"hai2007_nodejs --config ./hai2007_nodejs.config.js babel","build:uglifyjs":"hai2007_nodejs --config ./hai2007_nodejs.config.js uglifyjs"},"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"keywords":["wscode","vscode","edit","web"],"author":{"name":"心叶"},"license":"MIT","bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@hai2007/nodejs":"^0.1.0","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@yelloxing/core.js":"^0.3.7","@yelloxing/normalize.css":"^0.2.2","rollup":"^1.17.0","uglify-js":"^3.5.6"},"gitHead":"9f85b2acd0573752ac03818b5a02735b0cca235e","_id":"wscode@2.1.2","_nodeVersion":"10.13.0","_npmVersion":"6.14.3","dist":{"integrity":"sha512-ClitZc+7/dX1C6YWtTK8IQ/6VUxj1gCS11+n6btZpR/xFGZPfEQkpIPFa4vXrRuBtw4v09AUuhSsq/HKCT41tg==","shasum":"6c38e038e1398c25609385a50013be008b71d217","tarball":"https://registry.npmjs.org/wscode/-/wscode-2.1.2.tgz","fileCount":26,"unpackedSize":276413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/rieCRA9TVsSAnZWagAAi8YP/3dMcIma0eu5idBdSjtZ\nuPuKwfHnQuRtuPVPnDZ0g8dFcAIjs6VjZrce4x2zfetDsTN+odmLp5PRfRge\n3dp7R1SLrbnWwrzPe1uwqzSBwyc4+2e+/eY0IpYjW5qEPSNcbeUixiFLqU9q\nkqVzl9kasISHyOpwRb1m8I0ctduhIvTrWxz7oECKiyw1L1y0WfxuUVr09Oqi\nT65xO/5Oxkgqwb5GgUMNGulBLlKKQtmqD3ttMMIoIuQk0+poqzSXQ3lZ0hDZ\n8k49o3UQmDPYlOR/wds9jHlqZbpkdMU+QCbaK/Ios2WDWWjdxxLTjX11FZFq\nLdfJGjU5hA4VtsAxF6S2Ku8wk3W28vYqpVhABHecpGH7e3gzg4MuLMuYSO1E\n0tir3MIIDTXCii+pYRJIQuICheO2enkyCCJNSmdGz6VYdeM+wD1l9KDazoZV\nUq9DFaklzc67s4e8omWVJutOqrdPydRJZTioe7jRughPIVGUMJ8rxMN83Sts\nb5/ffUDXw3QZ7ntCr1dqaEjfEXqzGVx2lMWvXhgfGpTfsgOlIEogD5LPmMz2\novhwavqzuy6TwBTxNdkI4agLOw6ITqgWhhQdcC5i37XhPT7YYnCAwB4FUH7X\n59I/Dvhy1Hm8Z3xvJC7TCZPzbrtUbG4KtIwzGkXw4XbZrkzBPUhhUOx8rs6S\nkbi/\r\n=DyQB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcvV7OrArKVxnyTOHnj0wg38KD441AG/0PgU6TXmPj8wIhAJR3lqJDWwl7BqaDGTRvCLS2GwhXP40HUYzHQ0ooFFww"}]},"_npmUser":{"name":"yelloxing","email":"yelloxing@gmail.com"},"directories":{},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wscode_2.1.2_1610528926334_0.17822606199620417"},"_hasShrinkwrap":false,"deprecated":"Please use https://github.com/hai2007/Open-Web-Editor"}},"time":{"created":"2019-01-08T11:51:02.093Z","0.0.0":"2019-01-08T11:51:02.266Z","modified":"2022-05-24T18:39:46.544Z","0.1.0-alpha":"2020-05-09T16:19:30.274Z","0.1.1-alpha":"2020-05-10T15:08:44.997Z","0.1.2-alpha":"2020-05-10T15:31:20.491Z","1.0.0":"2020-05-10T16:15:35.102Z","1.0.1":"2020-05-10T16:23:17.953Z","1.0.2":"2020-05-10T16:35:56.190Z","1.0.3":"2020-05-11T01:32:29.724Z","1.0.4":"2020-05-11T01:35:36.930Z","1.0.5":"2020-05-11T02:31:43.739Z","1.0.6":"2020-05-11T06:46:48.816Z","1.2.0":"2020-05-11T15:23:43.378Z","1.2.1":"2020-05-12T01:15:14.671Z","1.3.0":"2020-05-12T08:29:12.467Z","1.3.1":"2020-05-12T09:40:02.523Z","1.3.2":"2020-05-13T01:53:16.284Z","1.3.3":"2020-05-13T08:59:17.583Z","1.3.4":"2020-05-14T03:35:53.074Z","1.4.0-alpha":"2020-05-16T09:05:30.901Z","1.4.0-beta":"2020-05-16T12:39:23.451Z","1.4.2-beta":"2020-05-16T13:00:06.101Z","1.4.0":"2020-05-16T15:50:15.745Z","1.4.1":"2020-05-16T17:13:52.372Z","1.4.2":"2020-05-17T14:41:03.696Z","1.5.0":"2020-05-18T15:10:22.920Z","1.5.1":"2020-05-18T15:27:09.958Z","1.5.2":"2020-05-19T01:56:56.182Z","1.5.3":"2020-05-22T06:13:40.074Z","1.5.4":"2020-05-25T08:09:57.984Z","1.5.5":"2020-05-26T03:54:56.499Z","1.5.6":"2020-05-26T07:24:05.322Z","1.5.6-beta":"2020-06-01T11:32:03.707Z","1.6.0":"2020-06-03T07:25:35.023Z","1.7.0":"2020-06-05T07:58:39.167Z","1.7.1":"2020-06-05T15:26:21.314Z","1.7.2":"2020-06-06T07:25:46.333Z","1.7.3":"2020-06-12T01:08:49.086Z","1.7.4":"2020-06-12T01:12:57.070Z","1.7.5":"2020-06-28T03:59:49.895Z","1.8.0-alpha.0":"2020-06-30T03:47:51.623Z","1.8.0-alpha.1":"2020-06-30T08:09:24.716Z","1.8.0-alpha.2":"2020-06-30T08:51:19.849Z","1.8.0-beta":"2020-07-01T02:05:22.329Z","1.8.0-beta.1":"2020-07-01T02:19:06.858Z","1.8.0":"2020-07-01T03:03:45.720Z","1.8.1":"2020-07-01T04:10:14.481Z","1.9.0-alpha.0":"2020-07-02T04:00:03.841Z","1.9.0-alpha.1":"2020-07-02T06:39:53.807Z","1.9.0-alpha.2":"2020-07-02T07:53:35.660Z","1.9.0-alpha.3":"2020-07-02T09:38:47.931Z","1.9.0-alpha.4":"2020-07-02T09:46:47.663Z","1.9.0-alpha.5":"2020-07-02T10:04:00.955Z","1.9.0-alpha.6":"2020-07-03T01:44:21.816Z","1.9.0-beta":"2020-07-03T02:17:42.313Z","1.9.0":"2020-07-03T07:27:14.964Z","2.0.0-alpha":"2020-07-24T07:53:12.713Z","2.0.0":"2020-07-27T02:56:04.342Z","2.0.1-alpha.0":"2020-08-13T09:53:42.190Z","2.0.1":"2020-08-13T14:50:36.971Z","2.0.3":"2020-08-25T07:03:33.890Z","2.0.4":"2020-10-09T05:13:26.151Z","2.1.0":"2020-10-12T03:51:01.456Z","2.1.1":"2020-10-21T06:50:27.858Z","2.1.2":"2021-01-13T09:08:46.500Z"},"maintainers":[{"name":"yelloxing","email":"yelloxing@gmail.com"}],"description":"🎉 An Editor Used on the Browser Side.","homepage":"https://github.com/yelloxing/Web-Studio-Code#readme","keywords":["wscode","vscode","edit","web"],"repository":{"type":"git","url":"git+https://github.com/yelloxing/Web-Studio-Code.git"},"author":{"name":"心叶"},"bugs":{"url":"https://github.com/yelloxing/Web-Studio-Code/issues"},"license":"MIT","readme":"<p align=\"center\"><a href=\"https://github.com/yelloxing/Web-Studio-Code\" target=\"_blank\" rel=\"noopener noreferrer\">\n<img width=\"400\" src=\"https://yelloxing.github.io/Web-Studio-Code/logo.png\" alt=\"Web Studio Code\"></a></p>\n\n# 🎉 Web Studio Code - An Editor Used on the Browser Side.\n\n<p align=\"center\">\n<a href=\"https://yelloxing.github.io/npm-downloads/?interval=7&packages=wscode\"><img src=\"https://img.shields.io/npm/dm/wscode.svg\" alt=\"Downloads\"></a>\n<a href=\"https://packagephobia.now.sh/result?p=wscode\"><img src=\"https://packagephobia.now.sh/badge?p=wscode\" alt=\"install size\"></a>\n<a href=\"https://www.jsdelivr.com/package/npm/wscode\"><img src=\"https://data.jsdelivr.com/v1/package/npm/wscode/badge\" alt=\"CDN\"></a>\n<a href=\"https://www.npmjs.com/package/wscode\"><img src=\"https://img.shields.io/npm/v/wscode.svg\" alt=\"Version\"></a>\n<a href=\"https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE\"><img src=\"https://img.shields.io/npm/l/wscode.svg\" alt=\"License\"></a>\n</p>\n\n<p align=\"center\"><a href=\"https://yelloxing.github.io/Web-Studio-Code/Web-Studio-Code.html\" target=\"_blank\" rel=\"noopener noreferrer\">\n<img width=\"500\" src=\"https://yelloxing.github.io/Web-Studio-Code/snipping.png\" alt=\"Web Studio Code\"></a></p>\n\n> 温馨提示：使用过程中，你可以查看 [版本历史](./CHANGELOG) 来了解是否需要升级！\n\n> 兼容Chrome、Safari、Edge、Firefox、Opera和IE(9+)等常见浏览器！\n\n## 如何引入\n\n我们推荐你使用npm的方式安装和使用：\n\n```bash\nnpm install --save wscode\n```\n\n当然，你也可以通过CDN的方式引入：\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/wscode\"></script>\n```\n\n## 如何使用\n\n- 特别注意：当前最后一个可用版本（非beta和alpha版本）请查看master分支的说明！\n\n```js\nimport WSCode from 'wscode';\n\nvar wscode = new WSCode({\n\n    // 编辑器挂载点(必选)\n    el: document.getElementById('wscode'),\n\n    // 初始化文本（可选）\n    content: \"初始化文本内容\",\n\n    // 编辑器字体（可选，默认\"新宋体\"）\n    \"font-family\": string,\n\n    // 编辑器字重（可选，默认600）\n    \"font-weight\": number,\n\n    // 着色方法（可选，默认不特殊着色）\n    shader: function(textString){\n        return [\n            [{\n                content:\"内容\",\n                color:\"文字颜色\"\n            },\n            ...],\n            ...\n        ];\n    },\n\n    // 格式化方法（可选）\n    format: function(textString, tabNumber){\n        return \"格式化后的文本\";\n    },\n\n    // 辅助输入（可选）\n    input: function(dom, options, contentArray){\n        /*\n        1.其中dom和contentArray分别表示辅助的悬浮结点和内容数组;\n        2.options的一些重要的辅助信息，是一个json，包括以下内容：\n            {\n                leftNum:光标前面有多少个字符\n                lineNum:当前行之前有多少行\n                x:光标left坐标\n                y:光标top坐标\n                lineHeight:一行文本的高\n            }\n        */\n\n       // 返回的是键盘操作,可以有任意多个(可选)\n       return {\n            // keyString可以取:\n            //    ”up“:按下键盘向上键\n            //    ”down“:按下键盘向下键\n            //    等\n            // 具体的查看这里： https://yelloxing.github.io/core.js/tools-api/index.html#keyString\n            \"keyString\":function(){\n\n                // 最后返回true或false,默认false表示阻止默认行为（或原有行为）\n                return boolean;\n            },\n            ...\n       };\n    },\n\n    // 设置颜色（可选）\n    color: {\n        background: \"#d6d6e4\", /*编辑器背景*/\n        text : \"#000000\", /*文本颜色*/\n        number: \"#888484\", /*行号颜色*/\n        edit: \"#eaeaf1\", /*编辑行背景色*/\n        cursor: \"#ff0000\", /*光标颜色*/\n        select: \"#6c6cf1\", /*选择背景*/\n    },\n\n    // 设置一个tab表示多少个空格（可选，默认4）\n    tabSpace: number,\n\n    // 是否只读（默认false，如果设置true表示当前编辑器可以选择复制等操作，不可以进行内容修改）\n    readonly:boolean,\n\n    // 行号是否隐藏（默认false，如果设置true表示当前编辑器行号隐藏）\n    noLineNumber:boolean\n\n});\n```\n\n返回的wscode里面挂载着后续可控方法：\n\n- 格式化代码\n\n```js\nwscode.format();\n```\n\n- 获取当前编辑器代码\n\n```js\nwscode.valueOf();\n```\n\n- 编辑器管理的文本发生改变后会主动触发callback方法\n\n```js\nwscode.updated(callback);\n```\n\n- 在当前光标位置输入新的内容\n\n```js\n// cursor和length默认都是0，前者表示光标偏移量，后者表示替换个数\nwscode.input(content[, cursor, number]);\n```\n\n- 触发编辑器命令\n\n```js\n/**\n * 参数：terminalString 字符串类型，表示命令语句，有以下可选：\n *  1.'ctrl+a':全选\n *  2.'ctrl+c':复制\n *  3.'ctrl+x':剪切\n *  4.'delete':删除当前选中的内容\n * \n * 温馨提示：需要注意的是，部分命令需要用户交互触发才可以成功，这主要是安全性问题导致的！\n */\nwscode.terminal(terminalString);\n```\n\n## 相关项目\n\n- [wscode-prettify](https://github.com/yelloxing/wscode-prettify)：通用的代码着色器\n- [Open-Code-Editor](https://github.com/yelloxing/Open-Code-Editor)：一个小巧且可个性化配置的代码编辑器\n\n## 开源协议\n\n[MIT](https://github.com/yelloxing/Web-Studio-Code/blob/master/LICENSE)\n\nCopyright (c) 2020 走一步 再走一步\n","readmeFilename":"README.md"}