Socket
Socket
Sign inDemoInstall

elocuent

Package Overview
Dependencies
29
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

4

package.json
{
"name": "elocuent",
"version": "0.0.1",
"version": "0.0.2",
"description": "A command-line script to analyze the lines of code in your repo",

@@ -21,3 +21,3 @@ "type": "module",

"type": "git",
"url": "git+https://github.com/leaverou/eloquent.git"
"url": "git+https://github.com/leaverou/elocuent.git"
},

@@ -24,0 +24,0 @@ "license": "MIT",

@@ -31,4 +31,2 @@ #!/usr/bin/env node

program.action(() => {

@@ -35,0 +33,0 @@ const options = program.opts();

export default {
spaces: false,
dirs: "src",
dir: "src",
types: "svelte,css,html,js",
output: "loc.csv",
}

@@ -14,3 +14,3 @@ import { createWriteStream } from "fs";

// Generate glob from dirs and types
let dirGlob = options.dirs.includes(",")? `{${options.dirs}}` : options.dirs;
let dirGlob = options.dir.includes(",")? `{${options.dir}}` : options.dir;
let typeGlob = options.types.includes(",")? `{${options.types}}` : options.types;

@@ -17,0 +17,0 @@ options.input = `${dirGlob}/**/*.${typeGlob}`;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc