You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing parker as a dependency in your project, you can use it as follows:
varParker=require('parker/lib/Parker');varmetrics=require('parker/metrics/All');// Or an array of the metrics you want to measurevarfile=fs.readFile('test.css',function(err,data){if(err)throwerr;varparker=newParker(metrics);varresults=parker.run(data.toString());// Do something with results});
Documentation
Documentation can be found in markdown format the docs folder.
Testing
From the repo root:
npm install
npm test
Contributing
Pull requests, issues, new unit tests, code reviews and good advice are all things that would make a difference to Parker. You can even contribute by telling me how useful Parker is to you; please let me know on Twitter at @katie_fenn. Any time generously donated to helping make Parker better is gratefully accepted, and in return I shall do my best to merge contributions.
Please target pull requests at the "develop" branch.
About
Parker is my first open source project, and your suggestions and feedback are welcome. The project is in a pre-beta phase and is liable to change at any time. Parker is named for the character Parker from Gerry Anderson's Thunderbirds, without which my interest in technology and computers would certainly not be what it is today. Parker is Nosey about your stylesheets.