Skip to content

Using sloc in a NodeJS module: is it possible to search for all file extensions? #121

@benatspo

Description

@benatspo

I'd like to do something like:
var stats = sloc("nsure", "*"); for(i in sloc.keys){ var k = sloc.keys[i]; console.log(k + " : " + stats[k]); }
in a NodeJS application.

Using the CLI, it is possible to do it, simply using the following command (without specifying any file extension):

sloc nsure

Thank you for your help 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions