angular-github-contributions

Angular Directive for displaying github contributions without any dependency

Usage no npm install needed!

<script type="module">
  import angularGithubContributions from 'https://cdn.skypack.dev/angular-github-contributions';
</script>

README

Github-contributions

Installation

Install via bower

bower install --save angular-github-contributions

Install via npm

npm install --save angular-github-contributions

Usage

Add it as a dependency to your app :

angular.module("myModule",["np.github-contributions"]);

And use by directive syntax as an element

<github-contributions username="portokallidis"></github-contributions>

Available attributes

  • username : a valid github username

Development

Install Gulp via npm if you don't have it

npm install -g gulp

Available commands

  • gulp: build and test the project
  • gulp build: build the project and make new files indist
  • gulp serve: start a server to serve the demo page and launch a browser then watches for changes in src files to reload the page
  • gulp test: run tests
  • gulp serve-test: runs tests and keep test browser open for development. Watches for changes in source and test files to re-run the tests

TODO

  • add tests
  • add more options

License

MIT