flosse / flosse/sloc

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

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CoffeeScript
Stars
972
Forks
80
PR merge metrics
No merged PRs in 30d

Description

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 👍

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.