# tolmach

> Programming language classifier of a code for node.js

Latest version **1.0.1** (published 2015-10-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install tolmach
pnpm add tolmach
yarn add tolmach
bun add tolmach
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-10-23 |
| First published | 2015-10-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| Author | Denis Kreshikhin |
| Maintainers | kreshikhin |

## Links

- npm: https://www.npmjs.com/package/tolmach
- npm.io page: https://npm.io/package/tolmach

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) 3.10.1
- [natural](https://npm.io/package/natural.md) 0.2.1

## Recent versions

- 1.0.1 (latest) — 2015-10-23
- 1.0.0 — 2015-10-23

## README

# tolmach
[![Build Status](https://travis-ci.org/kreshikhin/tolmach.svg?branch=master)](https://travis-ci.org/kreshikhin/tolmach)

  Programming language classifier based on [natural classifier](https://github.com/NaturalNode/natural) module.

## Installation

    $ npm install tolmach

## Example

```js
var tolmach = require('tolmach');

tolmach.detect('for item in items:');
// => "python"

tolmach.detect('#include <stdio.h>');
// => "c"

tolmach.detect('prices = items.map{ |i| i.price }');
// => "ruby"
```

## Supported languages

```
c
csharp
fortran
go
haskell
java
javascript
lisp
lua
objective-c
perl
php
python
ruby
rust
shell
swift
vbnet
```

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