1.1.2 • Published 4 years ago

github-loc v1.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Used to caculate line of code(LOC) of github repository.

example

This library can be imported directly in nodejs, and need bundling tool in web browser.

const githubLoc = require('github-loc');

const repoName = 'bitcoin/bitcoin';
const token = '****';

githubLoc({ repoName, token })
  .then((data) => {
    console.log(data);
  });

request github token on page: https://github.com/settings/tokens

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago