{"_id":"frankjs","_rev":"29-097c144f0abe151a515a58502187faeb","name":"frankjs","description":"Creates web page reports such as DOM ready time, pageload and page resources","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.2":{"author":{"name":"Mauricio Adams","email":"mauricio.adams@gmail.com"},"name":"frankjs","description":"Web page performance report","version":"0.0.2","bugs":{"url":"https://github.com/mauricioadams/frankjs/issues"},"tags":["report","performance"],"repository":{"type":"git","url":"http://github.com/mauricioadams/frankjs.git"},"main":"frankjs.js","dependencies":{"phantomjs":">= 1.9","jade":""},"devDependencies":{},"optionalDependencies":{},"engines":{"node":">=0.10.18"},"_id":"frankjs@0.0.2","dist":{"shasum":"55e3ac7ac9ace99b0f985b2d6244f339ae58dfa3","tarball":"https://registry.npmjs.org/frankjs/-/frankjs-0.0.2.tgz","integrity":"sha512-z+dKpkEuSnGW95ed5NHwMzoiiXFV5QEstgBWfrp6djYLilFdnDmt4eW9HWNfvlj4QrXRhQt7WTb2nI3vzpQXkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCygPwYz0dOxEBqWVB387OZ3w4c8Y5PDC6nKpdehKyeMwIgbNndM6LunFalna2/93RzkW0t3iuKeA++tgNsLwAvRDg="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mauricioadams","email":"mauricio.adams@gmail.com"},"maintainers":[{"name":"mauricioadams","email":"mauricio.adams@gmail.com"}],"directories":{}},"0.0.1":{"author":{"name":"Mauricio Adams","email":"mauricio.adams@gmail.com"},"name":"frankjs","description":"Web page performance report","version":"0.0.1","bugs":{"url":"https://github.com/mauricioadams/frankjs/issues"},"tags":["report","performance"],"repository":{"type":"git","url":"http://github.com/mauricioadams/frankjs.git"},"main":"frankjs.js","dependencies":{"phantomjs":">= 1.9","jade":""},"devDependencies":{},"optionalDependencies":{},"engines":{"node":">=0.10.18"},"_id":"frankjs@0.0.1","dist":{"shasum":"5395392b9fe956b11d00e36e524e1a809620ab9f","tarball":"https://registry.npmjs.org/frankjs/-/frankjs-0.0.1.tgz","integrity":"sha512-tTfzu2NWXiI3E9TtRdf/Hl6ePCv24MovrIDmPs0idK32S1N/DH89078dbop9vNBd6Sj0AmjyJb8deqAqjHSuBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoGqhZEB1TFkU7TCXR6stKTu++KbFkdB3tmfeximVVJwIgU2vHmq/LR4epa8MCYmrfkTNKZr7bS6zKKruD1tqJnIw="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mauricioadams","email":"mauricio.adams@gmail.com"},"maintainers":[{"name":"mauricioadams","email":"mauricio.adams@gmail.com"}],"directories":{}},"0.0.3":{"author":{"name":"Mauricio Adams","email":"mauricio.adams@gmail.com"},"name":"frankjs","description":"Creates web page reports such as DOM ready time, pageload and page resources","version":"0.0.3","bugs":{"url":"http://github.com/mauricioadams/frankjs/issues"},"tags":["report","performance"],"repository":{"type":"git","url":"http://github.com/mauricioadams/frankjs.git"},"main":"frankjs.js","dependencies":{"phantomjs":">= 1.9","jade":""},"devDependencies":{},"optionalDependencies":{},"engines":{"node":">=0.10.18"},"_id":"frankjs@0.0.3","dist":{"shasum":"f602f1e96de5e874699a0110f10154ad3020d562","tarball":"https://registry.npmjs.org/frankjs/-/frankjs-0.0.3.tgz","integrity":"sha512-oSNwL3KQI9jfJ3TUB6cf8xcOC1ujt3O6AcN5m6PXR/c8LQF5TObhtx+u2hj/oWCOtlS8xU9FYoaQBIGrrAZGbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqjQGI9eYEnqt6uFA8L3lvrvU2BgOZo9MWnL4tQMsVyAiEAyif9Azu8YHXJ4YO6MZnVcaH5H9wUc25q4HDxUXpd3Mk="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mauricioadams","email":"mauricio.adams@gmail.com"},"maintainers":[{"name":"mauricioadams","email":"mauricio.adams@gmail.com"}]},"0.0.4":{"author":{"name":"Mauricio Adams","email":"mauricio.adams@gmail.com"},"name":"frankjs","description":"Creates web page reports such as DOM ready time, pageload and page resources","version":"0.0.4","bugs":{"url":"http://github.com/mauricioadams/frankjs/issues"},"tags":["report","performance"],"repository":{"type":"git","url":"http://github.com/mauricioadams/frankjs.git"},"main":"frankjs.js","dependencies":{"phantomjs":">= 1.9","jade":""},"devDependencies":{},"optionalDependencies":{},"engines":{"node":">=0.10.18"},"_id":"frankjs@0.0.4","dist":{"shasum":"3179fcc8605742d767d927ad84614f396c71da6f","tarball":"https://registry.npmjs.org/frankjs/-/frankjs-0.0.4.tgz","integrity":"sha512-8oAwwlf+8sgN53N3ymlaeNYAI7JiMHkVZuN1GxYQjaZfc0Z2x+i4n6K8dksNwZq6XdJs7i5CGr3cSk8cUsiOYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPcWtEjepj+/Y8ph/PDG9sPvrIWRd3JJkmGOv1u+kpkAiAL6V99lS5nB6caykDcIfObFbLEPkLJlHtZuIzUBpyLTw=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"mauricioadams","email":"mauricio.adams@gmail.com"},"maintainers":[{"name":"mauricioadams","email":"mauricio.adams@gmail.com"}]},"0.0.5":{"author":{"name":"Mauricio Adams","email":"mauricio.adams@gmail.com"},"name":"frankjs","description":"Creates web page reports such as DOM ready time, pageload and page resources","version":"0.0.5","bugs":{"url":"http://github.com/mauricioadams/frankjs/issues"},"tags":["report","performance"],"repository":{"type":"git","url":"http://github.com/mauricioadams/frankjs.git"},"main":"frankjs.js","dependencies":{"phantomjs":">= 1.9","jade":""},"devDependencies":{},"optionalDependencies":{},"engines":{"node":">=0.10.18"},"_id":"frankjs@0.0.5","dist":{"shasum":"c5c3335eb2beedb4c1f475d1b0a3a856dc3f325f","tarball":"https://registry.npmjs.org/frankjs/-/frankjs-0.0.5.tgz","integrity":"sha512-kdZbxmhuRlQC8NdsLTe+tJ6RPOhyNHa40L5zmjS4LY9Ia05uKfi0P8JjaT60cERSGpX2iMfbVxiBDwxsRR5pxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/PEiFqboySxpy8mqEURSBkxgorRZAah5AQsQZ5Op8oAIhAIceF0zr1Sh59C/HhSzOLOv+7EssSDG3YuY2veif2DtX"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"mauricioadams","email":"mauricio.adams@gmail.com"},"maintainers":[{"name":"mauricioadams","email":"mauricio.adams@gmail.com"}]},"0.0.6":{"author":{"name":"Mauricio Adams","email":"mauricio.adams@gmail.com"},"name":"frankjs","description":"Creates web page reports such as DOM ready time, pageload and page resources","version":"0.0.6","bugs":{"url":"http://github.com/mauricioadams/frankjs/issues"},"tags":["report","performance"],"repository":{"type":"git","url":"http://github.com/mauricioadams/frankjs.git"},"main":"frankjs.js","dependencies":{"phantomjs":">= 1.9","jade":""},"devDependencies":{},"optionalDependencies":{},"engines":{"node":">=0.10.18"},"_id":"frankjs@0.0.6","dist":{"shasum":"876b798154741ff27ec4555f6418d30ac477668a","tarball":"https://registry.npmjs.org/frankjs/-/frankjs-0.0.6.tgz","integrity":"sha512-qy6hxk7FjpSgy9fwpCNmZwN9aUJXeDnVWHB55lcvEbgWaW2WARsOhLOe5cf5YTNu4DuDHHBuGxV+F+TdsshV1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBHQW/Ez0GY8ZbYznMBKJdLmlZHETY9ITveHspVPIMW3AiEAzhKP6C19AsUa1lvy++fCRIUiR7H0HF3GD6yA+X02OQ8="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"mauricioadams","email":"mauricio.adams@gmail.com"},"maintainers":[{"name":"mauricioadams","email":"mauricio.adams@gmail.com"}]}},"readme":"FRANKJS\r\n====================================\r\n[FRANKJS] is a nodejs script used to create web page reports such as DOM ready time, pageload and page resources.\r\n\r\n## Installation\r\nFork me on [github] or install node package using **npm install frankjs**\r\n\r\nDependencies: PhantomJS and Jade template engine\r\n\r\n## Usage\r\n```\r\nnode frankjs google.com\r\n```\r\n\r\nOutput: report file named report-default-**SETID**.html in report-results folder\r\n\r\n```\r\nnode frankjs google.com -rt=dump-json,my-custom-template\r\n```\r\n\r\nOutput: report files named report-dump-json-**SETID**.html and report-my-custom-template-**SETID**.html in report-results folder\r\n\r\n**SETID** = Unique identifier for your set of reports\r\n\r\n## Config options\r\n\r\nDefault options are located in default.json in config-files folder, you can override any default option or create your custom config file for a specific report.\r\nTo load your json config file use **-ff=FILENAME** option (must be in config-files folder).\r\nAny attribute in json config file will be mapped in frankArgs object, just in case you want to add any awesome new functionality. \r\n\r\n## Custom PhantomJS script\r\n\r\nFRANKJS has a default PhantomJS script but you can run any script.\r\nScript must be in phantomjs-scripts folder and must return one valid stringified JSON.\r\n\r\n## Custom report template\r\nReports are created using [Jade template engine] and must be in report-templates folder.\r\nEach template receives a result JSON so you can iterate in Jade file.\r\n\r\n## YSlow script and report\r\nFrankJS 0.6 has YSlow PhantomJS script and report package, you can run report using: \r\n```\r\nnode frankjs google.com -rt=yslow -cs=yslow -csp=--dict\r\n```\r\n\r\n## Roadmap (TODO)\r\nA few items for future releases, maybe you can help me to develop some of them :)\r\n- Nice style for default report \r\n- SEO report (some code for default PhantomJS script and report template)\r\n- Send reports feature (email and any other shell commands - reports in \"files\" array)\r\n- Notification feature (Define max value for properties like DOM ready time, resource sizes, pageload, etc... and notify if higher)\r\n- Lots of useful reports \r\n\r\n## Questions? Suggestions?\r\n**mauricio@frankjs.org** or [@mauricioadams]\r\n\r\n## Changelog\r\n0.0.6 \r\n- (Fix) \"sucess\" typo\r\n- (Fix) Custom script params -csp \r\n- Adding YSlow 3.1.8 and simple report\r\n- Adding default report styles (css) as include (includes/_styles)\r\n\r\n0.0.5 \r\n- Adding page cookies\r\n- Adding some styles for default report\r\n- (Fix) getMonth + 1, January is 0\r\n- (Change) Adding table style for console msg in default report\r\n\r\n0.0.4 \r\n- Adding console messages\r\n- Fixing load time for resources\r\n- Adding json default file\r\n- Adding json config file (-ff) support to override default options and new properties\r\n\r\n[Jade template engine]: http://jade-lang.com/\r\n[github]: https://github.com/mauricioadams/frankjs\r\n[FRANKJS]: http://frankjs.org\r\n[@mauricioadams]: http://twitter.com/mauricioadams","maintainers":[{"name":"mauricioadams","email":"mauricio.adams@gmail.com"}],"time":{"modified":"2022-06-18T03:30:09.145Z","created":"2013-10-05T02:30:26.757Z","0.0.1":"2013-10-05T04:09:28.664Z","0.0.2":"2013-10-05T03:57:54.823Z","0.0.3":"2013-10-06T02:30:40.728Z","0.0.4":"2013-10-21T22:20:26.178Z","0.0.5":"2013-11-06T17:50:01.589Z","0.0.6":"2014-04-02T00:21:25.712Z"},"author":{"name":"Mauricio Adams","email":"mauricio.adams@gmail.com"},"repository":{"type":"git","url":"http://github.com/mauricioadams/frankjs.git"},"bugs":{"url":"http://github.com/mauricioadams/frankjs/issues"},"readmeFilename":"README.md"}