{"_id":"jsmart","_rev":"18-9eb8c4d3208a8cba067b0b61b82dfa7d","name":"jsmart","description":"jSmart is javascript templating engine based on PHP Smarty Template Engine.","dist-tags":{"latest":"4.0.0"},"versions":{"2.13.0":{"name":"jsmart","description":"jSmart is a port of the Smarty Template Engine to Javascript.","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","template","templates"],"author":{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"}],"dependencies":{},"devDependencies":{"php":">=5.5.3","node":">=0.10.18","make":">=3.81","smarty":">=3.1.15"},"scripts":{"test":"make test","doc":"https://github.com/umakantp/jsmart/wiki"},"main":"jsmart.js","version":"2.13.0","license":"GNU GPL","repository":{"type":"git","url":"https://github.com/umakantp/jsmart.git"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"_id":"jsmart@2.13.0","dist":{"shasum":"601dd8972a47a73fdc4cb81a9f943e55d369301c","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-2.13.0.tgz","integrity":"sha512-/Q8mkLaFpaGATWv5x8qSaY7n4teRh64LxLAaLtx5rDKMNPY1T3Ap+XcsM2277P7S0Z6h6ihBqlveXa5Yw6ll3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/MQ9EreGg0Nk+pFdn2zPA/hu+WD0n4xK99AhZ76XoxAiEAn4PlTnY4PtCpPxISDzOnND/z2gg1EWId3c+w3ZD5ImU="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"directories":{}},"2.13.1":{"name":"jsmart","description":"jSmart is a port of the Smarty Template Engine to Javascript.","main":"jsmart.js","version":"2.13.1","license":"LGPL-3.0","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","template","templates"],"author":{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"}],"dependencies":{},"devDependencies":{"php":">=5.5.3","node":">=0.10.18","make":">=3.81","smarty":">=3.1.15"},"scripts":{"test":"make test","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"https://github.com/umakantp/jsmart.git"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"_id":"jsmart@2.13.1","dist":{"shasum":"edae3a727d1e39b8fc5570088b41e61dbb4f4ce7","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-2.13.1.tgz","integrity":"sha512-ahAlnOQzDFGMfPjF3N/RR2obd6/98jiU4gJkQjqU9HN7Z4TRsh5Cvlmz3Q+Y1BLjpBoNR/WwciA0kAKesNFmmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6o1jXehrtkNyFODCLlYhIoHXLisSuh08W5cDyrXzDCAiEAmwJluQ27c2EZW4+n2iEU7QJltuahU1c44xWjv0Y0JgQ="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"directories":{}},"2.14.0":{"name":"jsmart","title":"jSmart","description":"jSmart is a port of the Smarty Template Engine to Javascript.","main":"jsmart.js","version":"2.14.0","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","javascript","template","templates"],"author":{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"}],"licenses":[{"type":"LGPL-3.0","url":"http://opensource.org/licenses/LGPL-3.0"}],"dependencies":{},"devDependencies":{"php":">=5.5.3","node":">=0.10.18","make":">=3.81","smarty":">=3.1.15","grunt":"~0.4.5","grunt-contrib-uglify":"~0.5.0"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"scripts":{"test":"make test","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"https://github.com/umakantp/jsmart.git"},"gitHead":"c7b80aa66d856e08d84aafaa25fe8a690f92a153","homepage":"https://github.com/umakantp/jsmart","_id":"jsmart@2.14.0","_shasum":"0fd52dcab227a16f9791ff3d48366502a410088d","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"dist":{"shasum":"0fd52dcab227a16f9791ff3d48366502a410088d","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-2.14.0.tgz","integrity":"sha512-RJUnySqoCd/4BwcvGOABUOKOo+v4KkdMWAeS/Rb8VGZtqs33Zgm4TJ81+LKJsZACRR+NBsdnqNM5EsLA6NVz7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHVCb9BSgQLNvvJVC3nIYMM/liTY7hYx7IkY1D882SdbAiEAubJ07ctSIgGQAJx+4Pco81DDvYx7apnzwtZDXC3MFbE="}]},"directories":{}},"2.15.1":{"name":"jsmart","title":"jSmart","description":"jSmart is a port of the Smarty Template Engine to Javascript.","main":"jsmart.js","version":"2.15.1","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","javascript","template","templates"],"author":{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"}],"licenses":[{"type":"LGPL-3.0","url":"http://opensource.org/licenses/LGPL-3.0"}],"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-uglify":"^0.5.1","make":">=3.81","node":">=0.10.18","php":">=5.5.3","smarty":">=3.1.15"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"scripts":{"test":"make test","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"git+https://github.com/umakantp/jsmart.git"},"gitHead":"c71e67f1511bbaab9de9e6836bca4df2730ba268","homepage":"https://github.com/umakantp/jsmart#readme","_id":"jsmart@2.15.1","_shasum":"182a6347768ba087e800afabd84c3cef8c1ff1a5","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"dist":{"shasum":"182a6347768ba087e800afabd84c3cef8c1ff1a5","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-2.15.1.tgz","integrity":"sha512-TmGUMHdFI0c+m2C5OPcK71zn48TKHLdK0CAUK5oj+cYtSKzRrw2vH8Nzpr8y9QdWEMBI/cPkF0BJghmf/KZQzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5c8QH/ICel0sDU1QY+E4fS06nu4YydPvIei50K+fuqAIgOHX40Gu597Z1CYiqYh3HYbreUEUC1hRszP27mzxEx3g="}]},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsmart-2.15.1.tgz_1502445727856_0.31287781917490065"},"directories":{}},"3.0.0":{"name":"jsmart","title":"jSmart","description":"jSmart is a port of the Smarty Template Engine to Javascript.","main":"dist/jsmart.js","version":"3.0.0","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","javascript","template","templates"],"author":{"name":"Umakant Patil","email":"me@umakantpatil.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"},{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"}],"license":"MIT","dependencies":{},"devDependencies":{"eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.7.0","eslint-plugin-node":"^5.1.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","grunt":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^3.0.1","grunt-eslint":"^20.0.0","grunt-karma":"^2.0.0","jasmine-core":"^2.7.0","karma":"^0.13.13","karma-jasmine":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^1.1.0","karma-spec-reporter":"0.0.31","load-grunt-tasks":"^3.5.2","requirejs":"^2.3.4","requirejs-text":"^2.0.15"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"scripts":{"build":"npm install && grunt","test":"grunt && grunt karma","precommit":"grunt lint","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"git+https://github.com/umakantp/jsmart.git"},"gitHead":"a1ea47bd4ed85d2761188038088e766944a62003","homepage":"https://github.com/umakantp/jsmart#readme","_id":"jsmart@3.0.0","_shasum":"2e99a77cc5c0ccb02418554564adfb6ab5a830de","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"dist":{"shasum":"2e99a77cc5c0ccb02418554564adfb6ab5a830de","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-3.0.0.tgz","integrity":"sha512-ljICmtA1mQUzOxvwQ5/IngmZkHJbdGiVG6SR2ZN0E1MhIQlaUcPbEFjFycKtOkC2KF9MZUiBv+hf69kYTJFueA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5UHtHjNpre+05BwVPo7IOeNnie5xwDAmP7G9rSadn/AiEA0i5jqutA2VWc2QBUrhIsCMqriyhZCXR80nb8zYT5b94="}]},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsmart-3.0.0.tgz_1505984487747_0.18993323226459324"},"directories":{}},"3.0.1":{"name":"jsmart","title":"jSmart","description":"jSmart is a port of the Smarty Template Engine to Javascript.","main":"dist/jsmart.js","version":"3.0.1","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","javascript","template","templates"],"author":{"name":"Umakant Patil","email":"me@umakantpatil.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"},{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"}],"license":"MIT","dependencies":{},"devDependencies":{"eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.7.0","eslint-plugin-node":"^5.1.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","grunt":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^3.0.1","grunt-eslint":"^20.0.0","grunt-karma":"^2.0.0","jasmine-core":"^2.7.0","karma":"^0.13.13","karma-jasmine":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^1.1.0","karma-spec-reporter":"0.0.31","load-grunt-tasks":"^3.5.2","requirejs":"^2.3.4","requirejs-text":"^2.0.15"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"scripts":{"build":"npm install && grunt","test":"grunt && grunt karma","precommit":"grunt lint","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"git+https://github.com/umakantp/jsmart.git"},"gitHead":"a24088dbd3b85f2f64cfd5db1327cd6559d4b500","homepage":"https://github.com/umakantp/jsmart#readme","_id":"jsmart@3.0.1","_shasum":"f994d7462d14c133d682646c7ce1ed71ec6b139e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"dist":{"shasum":"f994d7462d14c133d682646c7ce1ed71ec6b139e","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-3.0.1.tgz","integrity":"sha512-ASfuovoJ8bbaFVhDIueUHuMNPvkDk+li9qnxbFfYI1c9YFwL4lREMkLQtEHKVkJRmXhAIlXPU35zIDo6ZlE/iw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnCCZffWiyeGUzhRMoak+wzIW+Qqs/AvfoMP2Ml2KQBAiEAxfDnX4+yGC+61ZKr0awqG7y1eWeaZMS7yJf6S2zjrzw="}]},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsmart-3.0.1.tgz_1505991341919_0.042257692432031035"},"directories":{}},"3.0.2":{"name":"jsmart","title":"jSmart","description":"jSmart is a port of the Smarty Template Engine to Javascript.","main":"dist/jsmart.js","version":"3.0.2","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","javascript","template","templates"],"author":{"name":"Umakant Patil","email":"me@umakantpatil.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"},{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"}],"license":"MIT","dependencies":{},"devDependencies":{"eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.7.0","eslint-plugin-node":"^5.1.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","grunt":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^3.0.1","grunt-eslint":"^20.0.0","grunt-karma":"^2.0.0","jasmine-core":"^2.7.0","karma":"^0.13.13","karma-jasmine":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^1.1.0","karma-spec-reporter":"0.0.31","load-grunt-tasks":"^3.5.2","requirejs":"^2.3.4","requirejs-text":"^2.0.15"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"scripts":{"build":"npm install && grunt","test":"grunt karma","precommit":"grunt lint && grunt karma","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"git+https://github.com/umakantp/jsmart.git"},"gitHead":"4e3883442f0c31f62aebcb2e2d5c7f0eb2e07d40","homepage":"https://github.com/umakantp/jsmart#readme","_id":"jsmart@3.0.2","_shasum":"afd0bb9d18ba5194c86f621a265e882a5f865961","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"dist":{"shasum":"afd0bb9d18ba5194c86f621a265e882a5f865961","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-3.0.2.tgz","integrity":"sha512-0J3MGbxx1bO4BOCdxgh0Rzyfs+1IoXTZ+EZpGDYAKgSMQcT+CpKoD0bv7b4gzNHNsTK8LELBzfQiQvCcMxEmQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMxMP4qQ9OuiIPh+QJt3ydTdCiQxig2RmWGPqszVtkaQIhAKdTX1aMQLujIR/DfRf7jINPofFQWdHyVhlTV9LjoMj4"}]},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsmart-3.0.2.tgz_1507878271764_0.6277353940531611"},"directories":{}},"3.0.3":{"name":"jsmart","title":"jSmart","description":"jSmart is javascript templating engine based on PHP Smarty Template Engine.","main":"dist/jsmart.js","version":"3.0.3","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","javascript","template","templates","engine"],"author":{"name":"Umakant Patil","email":"me@umakantpatil.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"},{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"}],"license":"MIT","dependencies":{},"devDependencies":{"eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","grunt":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^3.1.0","grunt-eslint":"^20.1.0","grunt-karma":"^2.0.0","jasmine-core":"^2.8.0","karma":"^1.7.1","karma-jasmine":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^1.1.0","karma-spec-reporter":"0.0.31","load-grunt-tasks":"^3.5.2","requirejs":"^2.3.5","requirejs-text":"^2.0.15"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"scripts":{"build":"npm install && grunt","test":"grunt karma","precommit":"grunt lint && grunt karma","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"git+https://github.com/umakantp/jsmart.git"},"gitHead":"f22a85934dd59e23841170bbb457f34d90b3dde6","homepage":"https://github.com/umakantp/jsmart#readme","_id":"jsmart@3.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"dist":{"integrity":"sha512-3QUGL2IKDl2VNu/fkDkGhLKBJ7G37MfjmPCWhjKnSUzF+x6sw8uH1ZGOGyry4yMo2Z+KIq6iSUNcwFmGpgU7pA==","shasum":"b07b842339ed339b267e553ce704b0e85846c019","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-3.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc6tWmXCuM6fXzSwTqn0lslo2EzohC4D677734agy6uQIhAPt9epNxg+FGxdgL/iqeBSuMCNv1Z0DKy3UHOoOD49+O"}]},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsmart-3.0.3.tgz_1510720357900_0.5063044850248843"},"directories":{}},"3.1.0":{"name":"jsmart","title":"jSmart","description":"jSmart is javascript templating engine based on PHP Smarty Template Engine.","main":"dist/jsmart.js","version":"3.1.0","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","javascript","template","templates","engine"],"author":{"name":"Umakant Patil","email":"me@umakantpatil.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"},{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"}],"license":"MIT","dependencies":{},"devDependencies":{"eslint-config-standard":"^10.2.1","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","grunt":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^3.1.0","grunt-eslint":"^20.1.0","grunt-karma":"^2.0.0","jasmine-core":"^2.8.0","karma":"^1.7.1","karma-jasmine":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^1.1.0","karma-spec-reporter":"0.0.31","load-grunt-tasks":"^3.5.2","requirejs":"^2.3.5","requirejs-text":"^2.0.15"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"scripts":{"build":"npm install && grunt","test":"grunt karma","precommit":"grunt lint && grunt karma","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"git+https://github.com/umakantp/jsmart.git"},"gitHead":"8a5b78a1ad7626c3091b1bdf4d2130d36647d688","homepage":"https://github.com/umakantp/jsmart#readme","_id":"jsmart@3.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"dist":{"integrity":"sha512-ertzhQJb2z42Vivj1+9dQ8JsEmNChf+7cQVP0IzSJ+1tmcZsFGcgvOairpLR7537vAEJug29pcgW1s79C7m1gQ==","shasum":"aafedc6ffd06e49ea3365e9b1fd70c729cc55e4b","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-3.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFB99tA3cAwBlF2cnN4llyoO74yhT7kuy9qj0sPluchfAiASkcqSdYzxhSWPm1l/VWIALjlkVBHePC7F6O3e55TQcQ=="}]},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsmart-3.1.0.tgz_1515679023922_0.5920843854546547"},"directories":{}},"4.0.0":{"name":"jsmart","title":"jSmart","description":"jSmart is javascript templating engine based on PHP Smarty Template Engine.","main":"dist/jsmart.js","version":"4.0.0","url":"https://github.com/umakantp/jsmart/","keywords":["jsmart","smarty","javascript","template","templates","engine"],"author":{"name":"Umakant Patil","email":"me@umakantpatil.com"},"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"},{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"}],"license":"MIT","dependencies":{},"devDependencies":{"eslint-config-standard":"^16.0.3","eslint-plugin-import":"^2.23.3","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-standard":"^5.0.0","grunt":"^1.4.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.1","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.2","jasmine-core":"^3.7.1","karma":"^6.3.2","karma-jasmine":"^4.0.1","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^1.1.0","karma-spec-reporter":"0.0.32","load-grunt-tasks":"^5.1.0","requirejs":"^2.3.6","requirejs-text":"^2.0.16"},"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"scripts":{"build":"npm install && grunt","test":"grunt karma","precommit":"grunt lint && grunt karma","doc":"https://github.com/umakantp/jsmart/wiki"},"repository":{"type":"git","url":"git+https://github.com/umakantp/jsmart.git"},"gitHead":"3ec0ce265749a3cc14fd6e72d02b00ff3c689243","homepage":"https://github.com/umakantp/jsmart#readme","_id":"jsmart@4.0.0","_nodeVersion":"14.16.0","_npmVersion":"7.14.0","dist":{"integrity":"sha512-rMlapc32+ZcCudFZGYwbJZgQOrjtYShGSujATS5wYKHG0eaOCtrIGsSx3ENAmJXm5Slm7h8FazNND+QGRlqMqQ==","shasum":"c4d672bb678f11a372fbcc2b41bf6fb7ec1e6050","tarball":"https://registry.npmjs.org/jsmart/-/jsmart-4.0.0.tgz","fileCount":69,"unpackedSize":1275094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr5V/CRA9TVsSAnZWagAACiUP+QG1zX+upjAAXm/AMSIu\nXsd6EeBfT25AhrVZKiFD5DS5TYQ+Yrgbn9TK6a+prGKSFHCDVByHjHs9t5iD\n5Wh0LCgYrgiljkDoxcNP+LnPYCatEw0I0bxJuqQsUx3bw4qj0svq0+8gFuMQ\nvo3FF6o6/VmlJoLxaiNhEciD7OSba9BmSYX5j+f1v9XkEqHqTPtrCXM1lCxr\nmSF3OWQp2I4Ff2nJdPwPjIMw6g0wMKH+MVhLuJHxXpFbsbmQlVqPFFgQgQ7V\nH2F9SuSwfi6OHaW1yATA1/3sjK12VlbKa53vvbNSs0p0bhvc3eCqC/GBxY+1\n4baQ11FNQD07TPq8LfzVu8yETDPo4XlvII2RBHWWvIZgP2ViBze63yrzxrtQ\nILl6i3OVUaPSobltPjjwhKeMDptqHI5QUwUg4KtY/5LxghlFNz/wozafEU47\neZAf1rD3MqAwrdjZtCTYLcXdIYy9H1ms+nL/4Rx3TQ5mDKFo9lmGu7ckmWid\nxhO31UoQ9UnbbXhYCUDrSt8PYtThX0jouE3kcoO4E9jDRbtT9yOfxlcx7KGt\n+Acey+MUA1Wb6yTxqAIl7HMJgj+Z7apY0VIw7hTUlSSz7vbd/4H7h3P601Mg\nbBoJkd42GGmW14OZx+D5OvYuPZP/RWkgJuAsgHQUg1FUaoasbmxTZ5JOnjN5\nm5+/\r\n=2TGw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXbbblp2UC3GpVglXcpcb/uxRG3Hdk9aCZP7aBFTbErAiAgHDxXviHtUYqGYUzKkykBd+sdCcCHVUjNtZInUDpcow=="}]},"_npmUser":{"name":"umakant","email":"me@umakantpatil.com"},"directories":{},"maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsmart_4.0.0_1622119806994_0.4316747209660443"},"_hasShrinkwrap":false}},"readme":"jSmart - Smarty template engine in JavaScript\n======\n[![Build Status](https://travis-ci.org/umakantp/jsmart.png?branch=master)](https://travis-ci.org/umakantp/jsmart)\n[![npm version](https://img.shields.io/npm/v/jsmart.svg)](https://www.npmjs.com/package/jsmart)\n[![David](https://img.shields.io/david/dev/umakantp/jsmart.svg)](https://www.npmjs.com/package/jsmart)\n[![npm](https://img.shields.io/npm/dw/jsmart.svg)](https://www.npmjs.com/package/jsmart)\n[![npm](https://img.shields.io/npm/l/jsmart.svg)](https://github.com/umakantp/jsmart/blob/master/LICENSE)\n\njSmart is a port of the Smarty Template Engine to Javascript, a JavaScript template library that supports the template [syntax](https://github.com/umakantp/jsmart/wiki/syntax) and all the features (functions, variable modifiers, etc.) of the well-known PHP template engine [Smarty](http://www.smarty.net/).\n\njSmart is written entirely in JavaScript, does not have any DOM/browser or third-party JavaScript library dependencies and can be run in a web browser as well as a standalone JavaScript interpreter or [CommonJS](http://www.commonjs.org/) environments like [node.js](https://nodejs.org/).\n\njSmart supports plugin architecture, you can [extend it with custom plugins](https://github.com/umakantp/jsmart/wiki/Create-Plugin): functions, blocks and variable modifiers, [templates inclusion](https://github.com/umakantp/jsmart/wiki/Include-Templates), [templates inheritance](https://github.com/umakantp/jsmart/wiki/Template-Inheritance) and overriding, [caching](https://github.com/umakantp/jsmart/wiki/Caching), [escape HTML](https://github.com/umakantp/jsmart/wiki/escape_html).\n\njSmart has some limited support of the [PHP Smarty syntax](https://github.com/umakantp/jsmart/wiki/syntax) and allows you to [use the same Smarty templates on both server and client side](https://github.com/umakantp/jsmart/wiki/Smarty-template-in-javascript), for both PHP and Javascript.\n\nPlay with JsFiddle [demo page](https://jsfiddle.net/8p8xua0k/1/)\n\n### Using jSmart with CDN\n##### Always latest version (don't use in production)\n```\nhttps://cdn.jsdelivr.net/npm/jsmart/dist/jsmart.min.js\n```\n##### Current latest version (4.0.0)\n```\nhttps://cdn.jsdelivr.net/npm/jsmart@3.1.0/dist/jsmart.min.js\n```\n### jSmart with other tools\n\n1. Webpack:- [https://www.npmjs.com/package/jsmart-loader](https://www.npmjs.com/package/jsmart-loader)\n2. Grunt:- [https://www.npmjs.com/package/grunt-jsmart](https://www.npmjs.com/package/grunt-jsmart)\n3. Express Js :- [https://www.npmjs.com/package/jsmart-express](https://www.npmjs.com/package/jsmart-express)\n\n### How to use jSmart in Node.js\n\n1. Install jSmart from NPM Registry\n```\n$ npm install jsmart --save\n```\n\n2. Create template, use [PHP Smarty syntax](https://github.com/umakantp/jsmart/wiki/syntax).  Say demo.tpl\n\n```smarty\nHello {$name}\n```\n\n3. Now lets read the template and compile it. _jSmart_ object compiles the template. You can call _fetch_ function as many times with different data you would want to assign to template.\n```js\nvar fs = require('fs'),\n  jSmart = require('jsmart'),\n  tpl = fs.readFileSync('./demo.tpl', {encoding: 'utf-8'}),\n  compiledTemplate = new jSmart(tpl),\n  output = compiledTemplate.fetch({name: 'World'});\n  // output will be \"Hello world\"\n\nconsole.log(output);\n```\n\n4. Execute the file.\n\n```cli\n$ node demo.js\n```\n\n### How to use jSmart in browser\n\n1. Include jSmart library Javascript file in your header.\n\n```html\n<html>\n  <head>\n    <script language=\"javascript\" src=\"jsmart.js\"></script>\n  </head>\n```\n\n2. Create template, use [PHP Smarty syntax](https://github.com/umakantp/jsmart/wiki/syntax). Put the template's text in _&lt;script&gt;_ with the _type=\"text/x-jsmart-tmpl\"_ so a browser will not try to parse it and mess it up.\n```js\n  <script id=\"test_tpl\" type=\"text/x-jsmart-tmpl\">\n    Hello {$name}\n  </script>\n```\n\n3. Create new object of _jSmart_ class, passing the template's text as it's constructor's argument than call _fetch(data)_, where data is an JavaScript object with variables to assign to the template\n```js\n<script>\n  var content = document.getElementById('test_tpl').innerHTML;\n  var compiled = new jSmart(content);\n  var output = compiled.fetch({name: 'world'});\n  // output will be \"Hello world\"\n</script>\n```\n\n### How to use jSmart using Require.js\n\n1. If you have configured and installed Require.js it easy to load jSmart and use it. Load jSmart.js file in the browser/environment and it already makes use require js to define module, you got to just include it.\n```js\ndefine(['jSmart'], function (jSmart) {\n  var tplText = 'Hello {$name}';\n  var compiled = new jSmart(tplText);\n  var output = compiled.fetch({name: 'world'});\n  // output is \"Hello world\"\n});\n```\n\n2. You can also make use Require.js text plugin to load templates.\n```js\ndefine(['jSmart', 'text!some/good/template.tpl'], function (jSmart, goodTpl) {\n  var compiled = new jSmart(goodTpl);\n  var output = compiled.fetch({name: 'world'});\n  // output is \"Hello world\"\n});\n```\n\n### DOCUMENTATION\n\n[https://github.com/umakantp/jsmart/wiki](https://github.com/umakantp/jsmart/wiki)\n\n### CONTRIBUTIONS & TESTS\n\n* Pull request\n  Best is open a issue first. Then send a pull request referencing the issue number. Before sending pull request make sure you add test case for the fix. Make sure all test cases are passing and eslint tests pass.\n\n* Test cases:-\n  ```grunt karma```\n\n* ES Lint tests:-\n  ```grunt eslint```\n\n* Run lint, run test, build, compress, distribution package and update examples in one command:-\n  ```grunt```\n\n### LICENSE\n\n[MIT](https://raw.githubusercontent.com/umakantp/jsmart/master/LICENSE)\n\n### NOTICE\n\nProject originally was created by [miroshnikov](https://github.com/miroshnikov). Since author was not active on project very frequently. I have forked and planned on pushing further improvements and features on my own fork.\n","maintainers":[{"name":"umakant","email":"me@umakantpatil.com"}],"time":{"modified":"2022-06-19T06:07:38.193Z","created":"2013-12-19T06:43:25.488Z","2.13.0":"2013-12-19T06:43:33.538Z","2.13.1":"2013-12-24T08:50:58.833Z","2.14.0":"2014-12-25T19:28:34.391Z","2.15.1":"2017-08-11T10:02:09.115Z","3.0.0":"2017-09-21T09:01:28.969Z","3.0.1":"2017-09-21T10:55:43.234Z","3.0.2":"2017-10-13T07:04:33.172Z","3.0.3":"2017-11-15T04:32:39.277Z","3.1.0":"2018-01-11T13:57:05.903Z","4.0.0":"2021-05-27T12:50:07.403Z"},"author":{"name":"Umakant Patil","email":"me@umakantpatil.com"},"repository":{"type":"git","url":"git+https://github.com/umakantp/jsmart.git"},"homepage":"https://github.com/umakantp/jsmart#readme","keywords":["jsmart","smarty","javascript","template","templates","engine"],"contributors":[{"name":"Umakant Patil","email":"me@umakantpatil.com"},{"name":"Max Miroshnikov","email":"miroshnikov@gmail.com"}],"bugs":{"url":"https://github.com/umakantp/jsmart/issues"},"readmeFilename":"README.md","license":"MIT","users":{"ferx":true}}