Skip to content

Commit

Permalink
Remove Bower, Component, Duo support
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Mar 31, 2016
1 parent ed34464 commit 00b4e51
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 114 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
.DS_Store
*.log
bower_components/
build/
components/
coverage/
node_modules/
build.js
43 changes: 0 additions & 43 deletions bower.json

This file was deleted.

29 changes: 0 additions & 29 deletions component.json

This file was deleted.

41 changes: 3 additions & 38 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,8 @@ Detect the language of text.

[npm](https://docs.npmjs.com/cli/install):

```bash
$ npm install franc
```

[Component.js](https://github.com/componentjs/component):

```bash
$ component install wooorm/franc
```

[Bower](http://bower.io/#install-packages):

```bash
$ bower install franc
```

[Duo](http://duojs.org/#getting-started):

```javascript
var franc = require('wooorm/franc');
```

[AMD](http://requirejs.org/docs/whyamd.html#amd) ([info](#browser)):

```javascript
require(['path/to/dist/franc.js'], function (franc) {
franc('Alle menslike wesens word vry'); // "afr"
});
```

Browser globals ([info](#browser)):

```html
<script src="path/to/dist/franc.js" charset="utf-8"></script>
<script>
franc('Alle menslike wesens word vry'); // "afr"
</script>
```sh
npm install franc
```

## Usage
Expand Down Expand Up @@ -167,7 +132,7 @@ $ echo "Alle mennesker er født frie og" | franc --whitelist nob,dan

## Supported languages

**franc** supports 175 “languages”, by default. For a complete list, check out [supported-Languages.md](supported-Languages.md).
**franc** supports 176 “languages”, by default. For a complete list, check out [supported-Languages.md](supported-Languages.md).

## Supporting more or less languages

Expand Down

0 comments on commit 00b4e51

Please sign in to comment.