Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

linguist-js

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linguist-js - npm Package Compare versions

Comparing version 1.2.5 to 1.3.0

dist/cli.d.ts

2

bin/index.js
#!/usr/bin/env node
require('../src/cli.js');
require('../dist/cli.js');
{
"name": "linguist-js",
"version": "1.2.5",
"version": "1.3.0",
"description": "Analyse languages used in a folder. Powered by GitHub Linguist, although it doesn't need to be installed.",
"main": "src/index.js",
"main": "dist/index.js",
"bin": {

@@ -15,5 +15,4 @@ "linguist": "bin/index.js"

"files": [
"bin/*.js",
"src/**/*.js",
"src/**/*.d.ts"
"bin/",
"dist/"
],

@@ -20,0 +19,0 @@ "repository": {

@@ -77,6 +77,13 @@ [![Latest version](https://img.shields.io/github/v/release/Nixinova/Linguist?label=latest%20version&style=flat-square)](https://github.com/Nixinova/Linguist/releases)

An object containing analyser options.
- `ignore:` (string array):
A list of file paths to explicitly ignore.
- `keepVendored` (boolean):
Whether to keep vendored files (dependencies, etc) (defaults to `false`).
- `quick` (boolean):
Whether to skip the checking of gitattributes files for manual language classifications (defaults to `false`).
Whether to skip the checking of `.gitattributes` and `.gitignore` files for manual language classifications (defaults to `false`).
Alias for `checkAttributes: false, checkIgnored: false`.
- `checkAttributes` (boolean):
Force the checking of `.gitattributes` files (defaults to `true` unless `quick` is set).
- `checkIgnored` (boolean):
Force the checking of `.gitignore` files (defaults to `true` unless `quick` is set).

@@ -86,3 +93,3 @@ ### Command-line

```
linguist --analyze [<folder>] [--files] [--vendored] [--quick]
linguist --analyze [<folder>] [<...options>]
linguist --help

@@ -96,2 +103,4 @@ ```

Analyse multiple folders using the syntax `"{folder1,folder2,...}"`.
- `--ignore` (optional):
A list of file paths (delimited with `;`) to ignore.
- `--files` (optional):

@@ -102,3 +111,8 @@ Whether to print a full list of all files analysed.

- `--quick` (optional):
Whether to skip the checking of gitattributes files for manual language classifications.
Whether to skip the checking of `.gitattributes` and `.gitignore` files for manual language classifications.
Alias for `--checkAttributes=false` `--checkIgnored=false`.
- `checkAttributes` (optional):
Force the checking of `.gitatributes` files (use alongside `--quick` to overwrite).
- `checkIgnored` (optional):
Force the checking of `.gitignore` files (use alongside `--quick` to overwrite).
- `--help`:

@@ -105,0 +119,0 @@ Display a help message.

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc