Skip to content

jasonzhouu/github-loc

Repository files navigation

npm version install size

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 image

About

get lines of code of github project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published