# js-linguist

> Get GitHub Linguist data for a repository

Latest version **0.0.0** (published 2016-12-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install js-linguist
pnpm add js-linguist
yarn add js-linguist
bun add js-linguist
```

Provides the command `js-linguist`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2016-12-14 |
| First published | 2016-12-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Richard Littauer |
| Maintainers | richardlitt |
| Keywords | language,, linguist,, badges,, github,, markdown,, readme, cli-app, cli |

## Links

- npm: https://www.npmjs.com/package/js-linguist
- Repository: https://github.com/RichardLitt/js-linguist
- Issues: https://github.com/RichardLitt/js-linguist/issues
- npm.io page: https://npm.io/package/js-linguist

## Dependencies (1)

- [meow](https://npm.io/package/meow.md) ^3.6.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.0.0 (latest) — 2016-12-14

## README

# js-linguist

[![Build Status](https://travis-ci.org/RichardLitt/js-linguist.svg?branch=master)](https://travis-ci.org/RichardLitt/js-linguist)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

> Get GitHub Linguist data for a repository

This is a wrapper around GitHub's [linguist](https://github.com/github/linguist). That will need to be installed for this to work.

## Install

```
$ npm install --save js-linguist
```

## Usage

```js
const jsLinguist = require('js-linguist');

jsLinguist();
//=> {JavaScript: '100'}
```

### Options

#### s, stdout

Print the response from `linguist` directly, instead of as a JSON object.

## CLI

```
$ npm install --global js-linguist
```

```
$ js-linguist --help

  Usage
    $ linguist

  Options
    --stdout, -s  Print normal result to stdout instead of json. [Default: false]

  Examples
    $ linguist
    {JavaScript: 100}
    $ linguist -s
    100% JavaScript
```

## Contribute

PRs accepted. Check out the [issues](https://github.com/RichardLitt/js-linguist/issues)!

## License

[MIT](license) © 2016 [Richard Littauer](http://burntfen.com)

---
_Source: https://npm.io/package/js-linguist · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
