Nanoseconds Produce Minutes
    Have ideas to improve npm?Join in the discussion! »

    github-loc

    1.1.2 • Public • Published

    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

    Keywords

    Install

    npm i github-loc

    DownloadsWeekly Downloads

    1

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    3.95 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar